summaryrefslogtreecommitdiff
path: root/internal/typeutils
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-09-20 16:49:46 +0100
committerLibravatar GitHub <noreply@github.com>2023-09-20 16:49:46 +0100
commitfc11deeb83a76a0dbe550842ce6594602a9fb8bc (patch)
treec2d079d548218bda1113308e8ad7a0351308294d /internal/typeutils
parent[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp... (diff)
downloadgotosocial-fc11deeb83a76a0dbe550842ce6594602a9fb8bc.tar.xz
[feature] add paging to AP following / followers endpoints (#2198)
Diffstat (limited to 'internal/typeutils')
-rw-r--r--internal/typeutils/internaltoas.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go
index f10205b13..9404e2ec7 100644
--- a/internal/typeutils/internaltoas.go
+++ b/internal/typeutils/internaltoas.go
@@ -729,7 +729,7 @@ func (c *converter) StatusToASDelete(ctx context.Context, s *gtsmodel.Status) (v
// For direct messages, add URI
// to To, else just add to CC.
- var f func(v *url.URL)
+ var f func(*url.URL)
if s.Visibility == gtsmodel.VisibilityDirect {
f = toProp.AppendIRI
} else {