mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
👕 Fix lint issue
This commit is contained in:
parent
6548b6c9dc
commit
10f18077b1
|
@ -419,10 +419,7 @@ class App {
|
|||
this.app.use(
|
||||
async (req: express.Request, res: express.Response, next: express.NextFunction) => {
|
||||
// Skip basic auth for a few listed endpoints or when instance owner has been setup
|
||||
if (
|
||||
authIgnoreRegex.exec(req.url) ||
|
||||
config.get('userManagement.isInstanceOwnerSetUp')
|
||||
) {
|
||||
if (authIgnoreRegex.exec(req.url) || config.get('userManagement.isInstanceOwnerSetUp')) {
|
||||
return next();
|
||||
}
|
||||
const realm = 'n8n - Editor UI';
|
||||
|
|
|
@ -266,7 +266,11 @@ export function usersNamespace(this: N8nApp): void {
|
|||
inviterId,
|
||||
inviteeId,
|
||||
});
|
||||
throw new ResponseHelper.ResponseError('The invitation was likely either deleted or already claimed', undefined, 400);
|
||||
throw new ResponseHelper.ResponseError(
|
||||
'The invitation was likely either deleted or already claimed',
|
||||
undefined,
|
||||
400,
|
||||
);
|
||||
}
|
||||
|
||||
const inviter = users.find((user) => user.id === inviterId);
|
||||
|
|
Loading…
Reference in a new issue