Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
store prettier json
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Sep 1, 2018
1 parent 78ea505 commit 9166563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ActivityPubController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function postInbox($username) {
$inbox->profile_id = 0;
$inbox->type = Request::input('type', '');
$inbox->verified = false;
$inbox->data = $body;
$inbox->data = json_encode(json_decode($body, true), JSON_PRETTY_PRINT+JSON_UNESCAPED_SLASHES);
$inbox->signature = Request::header('signature', '');
$inbox->headers = '';
$inbox->save();
Expand Down

0 comments on commit 9166563

Please sign in to comment.