mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
👕 Fix lint issue
This commit is contained in:
parent
fbaac6cd5e
commit
fe741bd90a
16526
package-lock.json
generated
16526
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[]> => {
|
async (req: express.Request, res: express.Response): Promise<ICredentialsResponse[]> => {
|
||||||
const findQuery = {} as FindManyOptions;
|
const findQuery = {} as FindManyOptions;
|
||||||
if (req.query.filter) {
|
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) {
|
if (findQuery.where.id !== undefined) {
|
||||||
// No idea if multiple where parameters make db search
|
// No idea if multiple where parameters make db search
|
||||||
// slower but to be sure that that is not the case we
|
// slower but to be sure that that is not the case we
|
||||||
|
|
Loading…
Reference in a new issue