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

Commit

Permalink
Merge pull request #22 from openchatai/fix/reorder-create-endpoint
Browse files Browse the repository at this point in the history
fix: move the create via swagger file endpoint to the top to avoid ro…
  • Loading branch information
gharbat authored Aug 31, 2023
2 parents ade3467 + 307e4da commit e96a293
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 e96a293

Please sign in to comment.