fix: last commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-07-02 18:10:18 +01:00
parent c249de3a82
commit 578ed1373b

View File

@ -327,7 +327,7 @@ pub async fn clear(
db: &State<DBPool>,
action: &State<ASender<Action>>,
) -> String {
let action = lock().unwrap();
let action = action.lock().unwrap();
let r = action.send(Action::Clear);
if r.is_err() || r.ok().is_none() {
return get_error_message("Something went wrong");