Skip to content

Commit

Permalink
rename cache to query (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatgurkangurk authored Nov 29, 2024
1 parent 18adb5d commit 1f3ac53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/happy-kids-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@solid-mediakit/auth-plugin": patch
---

rename cache to query
2 changes: 1 addition & 1 deletion packages/auth/plugin/src/compiler/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const addMissingImports = (
opts: AuthPluginOptions,
args: ReturnType<typeof getArgs>,
) => {
babelUtils.importIfNotThere(path, t, 'cache', '@solidjs/router')
babelUtils.importIfNotThere(path, t, 'query', '@solidjs/router')
babelUtils.importIfNotThere(path, t, 'createAsync', '@solidjs/router')
babelUtils.importIfNotThere(path, t, 'getRequestEvent', 'solid-js/web')
babelUtils.importIfNotThere(path, t, 'getSession', '@solid-mediakit/auth')
Expand Down

0 comments on commit 1f3ac53

Please sign in to comment.