fix(core): update
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user