mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 06:28:50 +00:00
remove console
This commit is contained in:
committed by
Akhil Mohan
parent
79454a6aea
commit
9849312317
@@ -65,7 +65,6 @@ export const ormify = <DbOps extends object, Tname extends keyof Tables>(
|
|||||||
const res = await (tx || db)(tableName).where(filter).first("*");
|
const res = await (tx || db)(tableName).where(filter).first("*");
|
||||||
return res;
|
return res;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("I HAVE REACHEd HEREEE===>", tableName)
|
|
||||||
throw new DatabaseError({ error, name: "Find one" });
|
throw new DatabaseError({ error, name: "Find one" });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -85,7 +84,6 @@ export const ormify = <DbOps extends object, Tname extends keyof Tables>(
|
|||||||
const res = await query;
|
const res = await query;
|
||||||
return res;
|
return res;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("I HAVE REACHEd HEREEE===>", tableName)
|
|
||||||
throw new DatabaseError({ error, name: "Find one" });
|
throw new DatabaseError({ error, name: "Find one" });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user