Skip to content

Commit

Permalink
Add API route for username check
Browse files Browse the repository at this point in the history
  • Loading branch information
itxshakil committed Jan 25, 2021
1 parent c0313fa commit 5a79be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Illuminate\Http\Request;
use App\Http\Controllers\API\UsernameController;
use Illuminate\Support\Facades\Route;

/*
Expand All @@ -17,3 +17,4 @@
// Route::middleware('auth:api')->get('/user', function (Request $request) {
// return $request->user();
// });
Route::post('/check-username', [UsernameController::class, 'checkUsernameAvailability']);

0 comments on commit 5a79be5

Please sign in to comment.