fix: lemmy's objects are PAGEs, process them too
This commit is contained in:
parent
ec063da763
commit
9e196b3180
1 changed files with 7 additions and 1 deletions
|
@ -201,7 +201,13 @@ impl AP {
|
||||||
apb::ObjectType::Activity(_)
|
apb::ObjectType::Activity(_)
|
||||||
| apb::ObjectType::Actor(_)
|
| apb::ObjectType::Actor(_)
|
||||||
| apb::ObjectType::Collection(_)
|
| apb::ObjectType::Collection(_)
|
||||||
| apb::ObjectType::Document(_)
|
| apb::ObjectType::Document(
|
||||||
|
// TODO lemmy posts are PAGEs...
|
||||||
|
apb::DocumentType::Document
|
||||||
|
| apb::DocumentType::Audio
|
||||||
|
| apb::DocumentType::Image
|
||||||
|
| apb::DocumentType::Video
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
return Err(apb::FieldErr("type"));
|
return Err(apb::FieldErr("type"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue