Skip to content

Commit

Permalink
fix: remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
hkp22 committed Oct 23, 2024
1 parent 72bd80d commit 27c9066
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 @@ -60,7 +60,7 @@ export default defineNuxtModule<DeepPartial<ModuleOptions>>({
const sanctumOptions = defu(
_nuxt.options.runtimeConfig.public[MODULE_CONFIG_KEY] as any,
_options,
) as ModuleOptions;
);
_nuxt.options.runtimeConfig.public[MODULE_CONFIG_KEY] = sanctumOptions;

const logger = useLogger(MODULE_NAME, {
Expand Down

0 comments on commit 27c9066

Please sign in to comment.