Skip to content

Commit

Permalink
Apply resolve defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Oct 7, 2024
1 parent 178cf4f commit 11936ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/adapter/next/cms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,12 @@ export class NextCMS<
await db.syncWith(client).catch(() => {})
}
}
return dbResolver.resolve(params)
return dbResolver.resolve({...resolveDefaults, ...params})
}
},
{
url,
applyAuth,
resolveDefaults
applyAuth
}
)
return client
Expand Down

0 comments on commit 11936ec

Please sign in to comment.