Commit 42d6920e authored by revooms's avatar revooms
Browse files

Fix redirect url after deleting a note

parent 3fb67274
......@@ -71,7 +71,7 @@ class ApiNotesController extends ApiController
return response()->json([
'message' => 'Note has been deleted',
'redirect_url' => route('', auth()->id()),
'redirect_url' => route('', auth()->user()->slug),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment