fix: edit webhook time (#18549)
This commit is contained in:
1 parent
08e58851e7
commit
ea827ebbc6
2 files changed
+13
-11
No files matched your search
@@ -40,7 +40,11 @@ export const editHandler = async ({ input, ctx }: EditOptions) => {
|
||||
where: {
|
||||
id,
|
||||
},
|
||||
data,
|
||||
data: {
|
||||
...data,
|
||||
time: data.time ?? null,
|
||||
timeUnit: data.timeUnit ?? null,
|
||||
},
|
||||
});
|
||||
|
||||
if (data.active) {
|
||||
|
||||
Reference in new issue
Block a user