Skip to content

Commit

Permalink
Return with success response
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 13, 2023
1 parent e3923d5 commit 7b7a1c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/realtime-compiler/src/Http/LiveEditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ protected function handleRequest(): JsonResponse
$page->markdown = new Markdown($content);
$page->save();

//
return new JsonResponse(200, 'OK', [
'message' => 'Page saved successfully.',
]);
}

public static function enabled(): bool
Expand Down

0 comments on commit 7b7a1c9

Please sign in to comment.