fix: event variable in readDataFromRequest function

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2023-12-28 11:37:53 +08:00
parent 9913994b10
commit bbd1a67f1c

View File

@@ -84,7 +84,7 @@ export const readDataFromRequest = async ({
if (isValid) {
return {
event,
event: event as BusinessEvents | 'health_check',
payload: obj,
}
} else {