Skip to content

Commit

Permalink
fix: don't clone token value
Browse files Browse the repository at this point in the history
  • Loading branch information
Diizzayy committed Nov 20, 2022
1 parent d3c1c0e commit f9f7cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default defineNuxtModule<GqlConfig>({

ctx.clientOps![k] = []
config.clients![k] = JSON.parse(JSON.stringify(conf))
nuxt.options.runtimeConfig.public['graphql-client'].clients![k] = defu(conf, {})
nuxt.options.runtimeConfig.public['graphql-client'].clients![k] = JSON.parse(JSON.stringify(conf))

if (conf?.token?.value) {
// @ts-ignore
Expand Down

0 comments on commit f9f7cb4

Please sign in to comment.