Skip to content

Commit

Permalink
We want to process all create and update operations to ensure our fie…
Browse files Browse the repository at this point in the history
…lds are set
  • Loading branch information
mortenlj committed Sep 19, 2023
1 parent 08cff83 commit a9e38ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async fn mutate_handler(
let req_span = info_span!("request", request_uid = uid);
let _req_guard = req_span.enter();

if req.operation != Operation::Create {
if req.operation == Operation::Delete || req.operation == Operation::Connect {
debug!("Ignoring operation {:?}", req.operation);
return (StatusCode::OK, Json(res.into_review()));
}
Expand Down

0 comments on commit a9e38ce

Please sign in to comment.