mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix linting issue
This commit is contained in:
parent
553c94ea2c
commit
4066c727b6
|
@ -53,6 +53,7 @@ export = {
|
|||
|
||||
const createUsers: { [key: string]: string | null } = {};
|
||||
// Validate payload
|
||||
// @ts-ignore
|
||||
// eslint-disable-next-line consistent-return
|
||||
req.body.forEach((invite) => {
|
||||
if (typeof invite !== 'object' || !invite.email) {
|
||||
|
@ -280,6 +281,7 @@ export = {
|
|||
|
||||
res.json(user);
|
||||
},
|
||||
// eslint-disable-next-line consistent-return
|
||||
getUsers: async (req: UserRequest.Get, res: express.Response): Promise<any> => {
|
||||
let offset = 0;
|
||||
let limit = parseInt(req.query.limit, 10) || 10;
|
||||
|
|
Loading…
Reference in a new issue