summary refs log tree commit diff
path: root/src/dto
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-02 16:25:31 +0200
committerRory& <root@rory.gay>2025-06-02 16:25:31 +0200
commitd6e6945086a2f4abc741d13ec3f7b2d8622675f2 (patch)
tree7622b874f888e4b055076b6f92c96f55499e7de1 /src/dto
parentTry to fix auth (diff)
downloadnodejs-final-assignment-d6e6945086a2f4abc741d13ec3f7b2d8622675f2.tar.xz
Fix alarm bug, fix error middleware
Diffstat (limited to 'src/dto')
-rw-r--r--src/dto/AlarmDto.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dto/AlarmDto.js b/src/dto/AlarmDto.js

index 281311d..bec4e18 100644 --- a/src/dto/AlarmDto.js +++ b/src/dto/AlarmDto.js
@@ -22,6 +22,8 @@ export class AlarmDto { } } - return await AlarmDto.schema.validateAsync(obj); + var res = await AlarmDto.schema.validateAsync(obj); + console.log({ res, obj }); + return res; } }