Fix: Deny Reason does not get cleared

This commit is contained in:
Neshura committed 2023-11-29 19:24:35 +01:00
1 parent 3dc4bbf8b2
commit 9624fe4fb3
1 file changed
+4 -1
@@ -33,7 +33,10 @@
while (reviewing) {
await new Promise(res => setTimeout(res, 1000))
}
if (!denying) return
if (!denying) {
denyReason = ""
return
}
if (denyReason != "") {
registrationApplicationAnswer.deny_reason = denyReason
}