Update targetId type to number
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ export default async function DbDelete({ table, query, targetId, config, }) {
|
||||
finalQuery = _.merge(finalQuery, {
|
||||
query: {
|
||||
id: {
|
||||
value: String(targetId),
|
||||
value: Number(targetId),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user