diff options
author | 2024-01-18 16:11:13 +0000 | |
---|---|---|
committer | 2024-01-18 17:11:13 +0100 | |
commit | 67e11a1a613bea9b7f5ac81a5f3bb2cd6c47b105 (patch) | |
tree | 34a2a61c1bcf3b850dda1835b34f0d81d9844612 /internal/federation/federatingdb/undo.go | |
parent | [chore] update viper version (#2539) (diff) | |
download | gotosocial-67e11a1a613bea9b7f5ac81a5f3bb2cd6c47b105.tar.xz |
[chore] chore rationalise http return codes for activitypub handlers (#2540)
* some small code fixups and changes
* add check in ResolveIncomingActivity for transient activity types (i.e. activity ID is nil)
* update test to handle new transient behaviour
Diffstat (limited to 'internal/federation/federatingdb/undo.go')
-rw-r--r-- | internal/federation/federatingdb/undo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/undo.go b/internal/federation/federatingdb/undo.go index a7a0f077a..6bc4cd7aa 100644 --- a/internal/federation/federatingdb/undo.go +++ b/internal/federation/federatingdb/undo.go @@ -78,7 +78,7 @@ func (f *federatingDB) Undo(ctx context.Context, undo vocab.ActivityStreamsUndo) } } - return nil + return errs.Combine() } func (f *federatingDB) undoFollow( |