mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
added controller
This commit is contained in:
@ -6,7 +6,6 @@ export function buildTypeORMWhereClause({ where }) {
|
||||
// Remove extra nesting if `where` is wrapped within an additional `where` property
|
||||
const condition = where.where ? where.where : where;
|
||||
|
||||
console.log(condition);
|
||||
const convertToNestedObject = (condition: any): any => {
|
||||
const result = {};
|
||||
for (const [key, value] of Object.entries(condition)) {
|
||||
|
Reference in New Issue
Block a user