Fixup many linter errors
This commit is contained in:
@@ -34,7 +34,7 @@ async function get(req, res, next) {
|
||||
|
||||
const [error, client] = await safe(oidc.clients.get(req.params.clientId));
|
||||
if (error) return next(BoxError.toHttpError(error));
|
||||
if (!result) return next(new HttpError(404, 'OpenID connect client not found'));
|
||||
if (!client) return next(new HttpError(404, 'OpenID connect client not found'));
|
||||
|
||||
next(new HttpSuccess(200, client));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user