Skip to content

Commit

Permalink
#28 fix: register blog route service to apply rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Dec 10, 2024
1 parent 4fed815 commit 09694a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"extra": {
"laravel": {
"providers": [
"CSlant\\Blog\\Api\\Providers\\BlogApiServiceProvider"
"CSlant\\Blog\\Api\\Providers\\BlogApiServiceProvider",
"CSlant\\Blog\\Api\\Providers\\RouteServiceProvider"
]
}
},
Expand Down
1 change: 0 additions & 1 deletion src/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace CSlant\Blog\ApiPackage\Providers;

use Botble\Theme\Facades\Theme;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
Expand Down

0 comments on commit 09694a6

Please sign in to comment.