Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
RiwRiwara committed Mar 3, 2024
1 parent 1a5115f commit b7463b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/User/UploadUserProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __invoke(Request $request): RedirectResponse
Storage::deleteDirectory('tmp');

// delete old image
$blobService->deleteBlob($containerName, auth()->user()->profile_img);
// $blobService->deleteBlob($containerName, auth()->user()->profile_img);

// update User profile image
$user = User::where('user_id', auth()->user()->user_id)->first();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function up(): void
$table->enum('gender', [1, 2, 3, 4])->nullable();
$table->dateTime('date_of_birth');
$table->string('mobile_number', 15)->unique();
$table->foreignId('role_id')->constrained('roles')->default(2);
$table->string('role_id')->default(2);
$table->string('address')->max(255);
$table->string('city')->nullable();
$table->string('district')->nullable();
Expand Down
2 changes: 1 addition & 1 deletion routes/web/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

Route::get('login', [AuthenticatedSessionController::class, 'create'])->name('web.login.index');

Route::post('logins', [AuthenticatedSessionController::class, 'store'])
Route::post('login', [AuthenticatedSessionController::class, 'store'])
->name('login.store');

Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])
Expand Down

0 comments on commit b7463b6

Please sign in to comment.