chore: undo weird as any removal

This commit is contained in:
Alessio Gravili
2024-03-07 16:11:25 -05:00
parent 50c7269315
commit 9a059bdce4

View File

@@ -17,7 +17,7 @@ export const createGlobal: CreateGlobal = async function createGlobal(
}
const options = withSession(this, req.transactionID)
let [result] = await Model.create([global], options)
let [result] = (await Model.create([global], options)) as any
result = JSON.parse(JSON.stringify(result))