fix: Add 201 json code to servers validate api response

This commit is contained in:
Laurence 2025-04-19 12:17:21 +01:00
parent a26d816fe3
commit 3f9228fb80
No known key found for this signature in database
GPG key ID: B053BEE3478E8FEF

View file

@ -809,6 +809,6 @@ public function validate_server(Request $request)
}
ValidateServer::dispatch($server);
return response()->json(['message' => 'Validation started.']);
return response()->json(['message' => 'Validation started.'], 201);
}
}