👕 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

16526
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