mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update AP logger
This commit is contained in:
parent
28cbadf197
commit
3063eb249a
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
class Activity extends Model
|
||||
{
|
||||
protected $dates = ['processed_at'];
|
||||
protected $fillable = ['*'];
|
||||
protected $fillable = ['data', 'to_id', 'from_id', 'object_type'];
|
||||
|
||||
public function toProfile()
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@ class Inbox
|
|||
{
|
||||
$this->handleVerb();
|
||||
|
||||
(new Activity())->save([
|
||||
(new Activity())->create([
|
||||
'data' => json_encode($this->payload)
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue