fix: normalize POST success response status
This commit is contained in:
parent
5aebc255e8
commit
0ec13e404a
@ -196,7 +196,7 @@ class TestsController extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $this->respondCreated([
|
return $this->respondCreated([
|
||||||
'status' => 'created',
|
'status' => 'success',
|
||||||
'message' => 'Test created successfully',
|
'message' => 'Test created successfully',
|
||||||
'data' => ['TestSiteId' => $id],
|
'data' => ['TestSiteId' => $id],
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user