lrf402788946 4 gadi atpakaļ
vecāks
revīzija
3cddab5c38
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
   },