Fix successful return value for SyncAndGetUserSpecificDiff (#27152) (#27156)

Backport #27152 by @delvh

A function should not return an error when it is successful.
Otherwise, things like
https://discord.com/channels/322538954119184384/322538954119184384/1153705341620600833
happen…

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Giteabot
2023-09-21 00:58:13 +02:00
committed by GitHub
co-authored by delvh
parent 7a99c7b83c
commit 25233a9bdc
+1 -1
View File
@@ -1312,7 +1312,7 @@ outer:
} }
} }
return diff, err return diff, nil
} }
// CommentAsDiff returns c.Patch as *Diff // CommentAsDiff returns c.Patch as *Diff