From e5f4d83e60305e2f502f18f507ad79d8fbccfe77 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 5 Jul 2019 21:34:03 +0200 Subject: Allow serializing local-only toots in backup service Fixes #1153 --- app/services/backup_service.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb index 5fcc98057..bd9e77223 100644 --- a/app/services/backup_service.rb +++ b/app/services/backup_service.rb @@ -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 -- cgit