scaffolder-backend: convert string to number

This commit is contained in:
Johan Haals
2021-02-10 11:42:04 +01:00
parent 36d0954886
commit 3796a666e0
@@ -255,7 +255,7 @@ export class DatabaseTaskStore implements TaskStore {
try {
const body = JSON.parse(event.body) as JsonObject;
return {
id: event.id,
id: Number(event.id),
taskId,
body,
type: event.event_type,