mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
👕 Fix lint issue
This commit is contained in:
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[]> => {
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user