1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-13 05:35:28 +03:00

👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2021-11-27 11:36:59 +01:00
parent fbaac6cd5e
commit fe741bd90a
2 changed files with 44344 additions and 39368 deletions

83710
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1579,7 +1579,7 @@ class App {
async (req: express.Request, res: express.Response): Promise<ICredentialsResponse[]> => {
const findQuery = {} as FindManyOptions;
if (req.query.filter) {
findQuery.where = JSON.parse(req.query.filter as string);
findQuery.where = JSON.parse(req.query.filter as string) as IDataObject;
if (findQuery.where.id !== undefined) {
// No idea if multiple where parameters make db search
// slower but to be sure that that is not the case we