forked from mirror/pixelfed
Update ApiController
This commit is contained in:
parent
1f9da762a8
commit
01a3841bc7
1 changed files with 3 additions and 3 deletions
|
@ -1598,9 +1598,9 @@ class ApiV1Controller extends Controller
|
||||||
$status = Status::findOrFail($id);
|
$status = Status::findOrFail($id);
|
||||||
|
|
||||||
$share = Status::firstOrCreate([
|
$share = Status::firstOrCreate([
|
||||||
'profile_id' = $user->profile_id,
|
'profile_id' => $user->profile_id,
|
||||||
'reblog_of_id' = $status->id,
|
'reblog_of_id' => $status->id,
|
||||||
'in_reply_to_profile_id' = $status->profile_id
|
'in_reply_to_profile_id' => $status->profile_id
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if($share->wasRecentlyCreated == true) {
|
if($share->wasRecentlyCreated == true) {
|
||||||
|
|
Loading…
Reference in a new issue