Skip to content

Commit

Permalink
feat(api): change api
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadreza1388 committed Sep 11, 2024
1 parent 103048f commit b40cb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controllers/CodeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function save(): void
':title' => $request['title'],
]);
Flight::json($this->success2([
'url' => env('APP_URL').'/api/v1/code/'.$uuid,
'url' => $uuid,
'message' => ['Code saved successfully.'],
]));
}
Expand Down

0 comments on commit b40cb97

Please sign in to comment.