fix(core): update

This commit is contained in:
2024-05-30 16:57:18 +02:00
parent f02d175a2a
commit 1cf88b5aad
7 changed files with 208 additions and 29 deletions

View File

@ -33,7 +33,7 @@ tap.test('should be able to create smartguards for a request', async () => {
smartexpressInstance.addRoute(
'/testroute',
new typedserver.servertools.Handler('ALL', async (req, res) => {
await smartguard.passGuards(
await smartguard.passGuardsOrReject(
{
req,
res,