Skip to content

Commit

Permalink
duplicate route name issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Jan 28, 2025
1 parent 35944f1 commit c2ddf3f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,10 @@
});
}
Route::apiResource('bank-transfers', BankTransferController::class)->except('update', 'destroy');
Route::group(['prefix' => 'bank-transfers'], function () {
Route::post('store-without-insufficient-balance', [BankTransferController::class, 'storeWithoutInsufficientBalance'])
->name('store-without-insufficient-balance');
});
Route::apiResource('cash-pickups', CashPickupController::class)->except('update', 'destroy');
Route::group(['prefix' => 'cash-pickups'], function () {
Route::post('store-without-insufficient-balance', [CashPickupController::class, 'storeWithoutInsufficientBalance'])
->name('store-without-insufficient-balance');
});

Route::apiResource('wallet-transfers', WalletTransferController::class)->except('update', 'destroy');
Route::group(['prefix' => 'wallet-transfers'], function () {
Route::post('store-without-insufficient-balance', [WalletTransferController::class, 'storeWithoutInsufficientBalance'])
->name('store-without-insufficient-balance');
});

Route::post('wallet-verification', WalletVerificationController::class)->name('wallet-verification');
Route::get('islami-bank-account-type-code', [VendorTestController::class, 'islamiBankAccountTypeCode'])->name('islami-bank-account-type-code');
// DO NOT REMOVE THIS LINE//
Expand Down

0 comments on commit c2ddf3f

Please sign in to comment.