diff --git a/routes/api.php b/routes/api.php index 982973167..ca9b3cc3d 100644 --- a/routes/api.php +++ b/routes/api.php @@ -123,6 +123,8 @@ Route::get('/auth/logout', [AuthController::class, 'logoutAction']); Route::get('/auth/refresh', [AuthController::class, 'refreshAction']); + + Route::post('/users', [UsersController::class, 'createAction']); }); Route::patch('/auth/verify', [AuthController::class, 'verifyAction']); @@ -141,7 +143,6 @@ Route::post('/uploads/site_programme_media', [MediaUploadController::class, 'createAction']); Route::get('/organisations/{id}/users', [UsersController::class, 'readAllByOrganisationAction']); -Route::post('/users', [UsersController::class, 'createAction']); Route::get('/users/all', [UsersController::class, 'readAllAction']); Route::get('/users/unverified', [UsersController::class, 'readAllUnverifiedAction']); Route::post('/users/invite', [UsersController::class, 'inviteAction']);