Skip to content

Commit

Permalink
Don't scope route binding for merchandise distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Jul 28, 2024
1 parent 394c736 commit b502c67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ static function (): void {
Route::get(
'merchandise/{merchandise}/distribute/{user:gtid}',
[MerchandiseController::class, 'getDistribution']
);
Route::post('merchandise/{merchandise}/distribute/{user:gtid}', [MerchandiseController::class, 'distribute']);
)->withoutScopedBindings();
Route::post(
'merchandise/{merchandise}/distribute/{user:gtid}',
[MerchandiseController::class, 'distribute']
)->withoutScopedBindings();
}
);

Expand Down

0 comments on commit b502c67

Please sign in to comment.