lrf402788946 hace 4 años
padre
commit
3cddab5c38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/store/refute.js

+ 1 - 1
src/store/refute.js

@@ -19,7 +19,7 @@ const actions = {
   },
   async fetch({ commit, rootState }, payload) {
     const res = await this.$axios.$get(`${api.refute}/${payload}`, {
-      openid: rootState.user.openid,
+      openid: rootState.user.openid || undefined,
     });
     return res;
   },