Skip to content

Commit 08654bd

Browse files
authored
Update UsersRouter.js
Signed-off-by: Manuel <[email protected]>
1 parent 6d5c94d commit 08654bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routers/UsersRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ export class UsersRouter extends ClassesRouter {
469469
{ limit: 1 },
470470
Auth.maintenance(req.config)
471471
);
472-
if (userResults && userResults.length > 0) {
472+
if (userResults?.length > 0) {
473473
userData = userResults[0];
474474
}
475475
}

0 commit comments

Comments
 (0)