mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
fix(fediverse): access to URI in 'object' instead of going down with '->id' in delete case
This commit is contained in:
parent
950d42c838
commit
89d0fe4a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class ActorController extends Controller
|
|||
->setJSON([]);
|
||||
case 'Delete':
|
||||
$postToDelete = model('PostModel', false)
|
||||
->getPostByUri($payload->object->id);
|
||||
->getPostByUri($payload->object);
|
||||
|
||||
if ($postToDelete instanceof Post) {
|
||||
model('PostModel', false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue