mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
fix(job): "invalid job action" check
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
2e1bc9b14e
commit
0f939995d1
@@ -1080,7 +1080,7 @@ pub fn job_add(
|
||||
param: Params,
|
||||
delay_seconds: i64,
|
||||
) {
|
||||
if action != Action::Unknown {
|
||||
if action == Action::Unknown {
|
||||
error!(context, 0, "Invalid action passed to job_add");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user