Allow serializing local-only toots in backup service

Fixes #1153
This commit is contained in:
Thibaut Girka
2019-07-05 21:34:03 +02:00
committed by ThibG
parent c94966891a
commit e5f4d83e60
2 changed files with 3 additions and 2 deletions

View File

@@ -149,7 +149,8 @@ class BackupService < BaseService
ActiveModelSerializers::SerializableResource.new(
object,
serializer: serializer,
adapter: ActivityPub::Adapter
adapter: ActivityPub::Adapter,
allow_local_only: true,
).as_json
end