Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Oct 15, 2024
1 parent 9b9799f commit 03567dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/nice-rockets-tan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'sv': patch
---

fix: rename `auth` handler to `authHandle` for `lucia`
fix: rename `auth` handler to `handleAuth` for `lucia`
2 changes: 1 addition & 1 deletion packages/adders/lucia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default defineAdder({
const { ast, generateCode } = parseScript(content);
imports.addNamespace(ast, '$lib/server/auth.js', 'auth');
imports.addNamed(ast, '$app/environment', { dev: 'dev' });
kit.addHooksHandle(ast, typescript, 'authHandle', getAuthHandleContent());
kit.addHooksHandle(ast, typescript, 'handleAuth', getAuthHandleContent());
return generateCode();
}
},
Expand Down

0 comments on commit 03567dd

Please sign in to comment.