fix: metadata init issues

This commit is contained in:
DecDuck
2025-04-20 23:24:08 +10:00
parent a5facbd648
commit feedcfc5c4
2 changed files with 2 additions and 2 deletions

View File

@ -27,6 +27,7 @@ export default defineNitroPlugin(async (_nitro) => {
}
}
// Add providers based on their position in the application settings
const configuredProviderList =
await applicationSettings.get("metadataProviders");
@ -43,7 +44,7 @@ export default defineNitroPlugin(async (_nitro) => {
}
// Add the rest with no position
for (const [, provider] of Object.entries(providers)) {
for (const [, provider] of providers.entries()) {
metadataHandler.addProvider(provider);
}