mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-08-12 12:41:23 +00:00
Return 400 for missing /api/serialize IDs (#1272)
This commit is contained in:
@@ -276,7 +276,7 @@ impl ApiService {
|
||||
|
||||
response_dom.transfer_within(child_ref, object_value);
|
||||
} else {
|
||||
msgpack(
|
||||
return msgpack(
|
||||
ErrorResponse::bad_request(format!("provided id {id} is not in the tree")),
|
||||
StatusCode::BAD_REQUEST,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user