[ActivityPub] Add ActivityToType
Minor bug fixes
This commit is contained in:
@@ -153,7 +153,7 @@ class Activity extends Entity
|
||||
|
||||
public function getObject(): mixed
|
||||
{
|
||||
return DB::findBy($this->getObjectType(), ['id' => $this->getObjectId()]);
|
||||
return DB::findOneBy($this->getObjectType(), ['id' => $this->getObjectId()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user