Skip to content

Commit

Permalink
Move upload route to api
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine committed Oct 12, 2023
1 parent 53296b3 commit 986f8e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Code16\Sharp\Http\Api\ApiEntityListController;
use Code16\Sharp\Http\Api\ApiFilesController;
use Code16\Sharp\Http\Api\ApiFormUploadController;
use Code16\Sharp\Http\Api\ApiSearchController;
use Code16\Sharp\Http\Api\Commands\ApiDashboardCommandController;
use Code16\Sharp\Http\Api\Commands\ApiEntityListEntityCommandController;
Expand Down Expand Up @@ -86,4 +87,7 @@

Route::post('/embeds/{embedKey}/{entityKey}/{instanceId}/form', [ApiEmbedsFormController::class, 'update'])
->name('code16.sharp.api.embed.instance.form.update');

Route::post('/upload', [ApiFormUploadController::class, 'store'])
->name('code16.sharp.api.form.upload');
});

0 comments on commit 986f8e7

Please sign in to comment.