Skip to content

Commit

Permalink
Issue krayin#1198 fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-webkul committed Jun 19, 2024
1 parent 8f35494 commit a55fbea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function store()
Mail::send(new Email($email));

$this->emailRepository->update([
'folders' => ['inbox', 'sent']
'folders' => ['sent']
], $email->id);
} catch (\Exception $e) {}
}
Expand All @@ -182,7 +182,7 @@ public function store()

session()->flash('success', trans('admin::app.mail.create-success'));

return redirect()->route('admin.mail.index', ['route' => 'inbox']);
return redirect()->route('admin.mail.index', ['route' => 'sent']);
}

/**
Expand Down

0 comments on commit a55fbea

Please sign in to comment.