api: use our shorthand method for returning
This commit is contained in:
parent
3541ee1d7f
commit
3f266269cc
|
@ -328,5 +328,5 @@ fn items_sync(
|
|||
.fold(false, |x, y| x || y)
|
||||
}).collect();
|
||||
|
||||
Custom(Status::Ok, Json(Response::Success(resp)))
|
||||
success_resp(resp)
|
||||
}
|
Loading…
Reference in New Issue