Skip to content

Commit

Permalink
Lint code [WEB-2934]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Dec 2, 2024
1 parent cff2879 commit b16799d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class extends Migration
{
return new class () extends Migration {
public function __construct()
{
$this->connection = 'vectors';
Expand Down
3 changes: 1 addition & 2 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

// AI Search
Route::group(['prefix' => 'ai', 'middleware' => 'ai.service.status'], function () {

Route::any('/', [AzureAIController::class, 'show']);

// Semantic search
Expand All @@ -60,7 +60,6 @@

// Get single item with embeddings
Route::get('{model}/{id}', [AzureAIController::class, 'getItem']);

});

// Image search
Expand Down

0 comments on commit b16799d

Please sign in to comment.