mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update NotificationTransformer, fixes #2389
This commit is contained in:
parent
96c1b4da1c
commit
c4506ebd71
1 changed files with 2 additions and 2 deletions
|
@ -37,10 +37,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
||||||
if($status) {
|
if($status) {
|
||||||
return $this->item($status, new StatusTransformer());
|
return $this->item($status, new StatusTransformer());
|
||||||
} else {
|
} else {
|
||||||
return $this->collection([], new StatusTransformer());
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return $this->collection([], new StatusTransformer());
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue