Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
fix: move the create via swagger file endpoint to the top to avoid ro…
Browse files Browse the repository at this point in the history
…utes conflict
  • Loading branch information
gharbat committed Aug 31, 2023
1 parent ac4b7c9 commit 307e4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@


Route::get('/copilots', [ChatbotController::class, 'index']);
Route::post('/copilot/swagger', [ChatbotController::class, 'handleSwaggerFile']);
Route::get('/copilot/{id}', [ChatbotSettingController::class, 'generalSettings']);
Route::delete('/copilot/{id}', [ChatbotSettingController::class, 'deleteBot']);
Route::post('/copilot/{id}', [ChatbotSettingController::class, 'generalSettingsUpdate']);
Route::get('/copilot/{id}/validator', [OnboardingController::class, 'validator']);
Route::post('/copilot/swagger', [ChatbotController::class, 'handleSwaggerFile']);
Route::get('/copilot/swagger/pre-made', [ChatbotController::class, 'handleSwaggerViaPremadeTemplate']);


Expand Down

0 comments on commit 307e4da

Please sign in to comment.