summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/undo.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-01-18 16:11:13 +0000
committerLibravatar GitHub <noreply@github.com>2024-01-18 17:11:13 +0100
commit67e11a1a613bea9b7f5ac81a5f3bb2cd6c47b105 (patch)
tree34a2a61c1bcf3b850dda1835b34f0d81d9844612 /internal/federation/federatingdb/undo.go
parent[chore] update viper version (#2539) (diff)
downloadgotosocial-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.go2
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(