summaryrefslogtreecommitdiff
path: root/internal/typeutils
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-09-16 17:49:40 +0200
committerLibravatar GitHub <noreply@github.com>2024-09-16 15:49:40 +0000
commit0567b319c6de0cc964bcf0b2891bdd58e887bf68 (patch)
tree490a2ea391696161f25d4622adcaef2c99353edf /internal/typeutils
parent[chore] Reject replies to rejected replies (#3291) (diff)
downloadgotosocial-0567b319c6de0cc964bcf0b2891bdd58e887bf68.tar.xz
[chore] Refactor federatingDB.Undo, avoid 500 errors on Undo Like (#3310)
Diffstat (limited to 'internal/typeutils')
-rw-r--r--internal/typeutils/astointernal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/astointernal.go b/internal/typeutils/astointernal.go
index 5ff60b09c..9dd18dbb2 100644
--- a/internal/typeutils/astointernal.go
+++ b/internal/typeutils/astointernal.go
@@ -861,7 +861,7 @@ func (c *Converter) getASObjectStatus(ctx context.Context, id string, with ap.Wi
// Check for status in database with provided object URI.
status, err := c.state.DB.GetStatusByURI(ctx, object[0].String())
if err != nil {
- return nil, gtserror.Newf("error getting object account from database: %w", err)
+ return nil, gtserror.Newf("error getting object status from database: %w", err)
}
return status, nil