fix: only return server uuid on server update
This commit is contained in:
parent
dce783813a
commit
40af73cb7d
1 changed files with 3 additions and 1 deletions
|
|
@ -680,7 +680,9 @@ public function update_server(Request $request)
|
||||||
ValidateServer::dispatch($server);
|
ValidateServer::dispatch($server);
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->json(serializeApiResponse($server))->setStatusCode(201);
|
return response()->json([
|
||||||
|
'uuid' => $server->uuid,
|
||||||
|
])->setStatusCode(201);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[OA\Delete(
|
#[OA\Delete(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue