don't remove webhooks if not updated

This commit is contained in:
Sam Machin
2025-12-19 11:16:58 +00:00
parent 52825af3cd
commit 8f4355cdd2

View File

@@ -304,9 +304,6 @@ router.put('/:sid', async(req, res) => {
obj[`${prop}_sid`] = sid;
}
}
else {
obj[`${prop}_sid`] = null;
}
delete obj[prop];
}