refactoring part 1

This commit is contained in:
Peter Papp
2021-03-14 12:23:14 +01:00
parent c5e9d29362
commit d0bd866354
26 changed files with 168 additions and 312 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ Route::group(['middleware' => ['auth:sanctum']], function () {
Route::get('/', [AccountController::class, 'user']);
// Payment cards
// TODO: testy
// TODO: tests
Route::delete('/payment-cards/{id}', [PaymentMethodsController::class, 'delete']);
Route::patch('/payment-cards/{id}', [PaymentMethodsController::class, 'update']);
Route::post('/payment-cards', [PaymentMethodsController::class, 'store']);