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:
parent
fbaac6cd5e
commit
fe741bd90a
83710
package-lock.json
generated
83710
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user