summaryrefslogtreecommitdiff
path: root/internal/processing/search/get.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/search/get.go')
-rw-r--r--internal/processing/search/get.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/search/get.go b/internal/processing/search/get.go
index 2e956b049..64aefd23c 100644
--- a/internal/processing/search/get.go
+++ b/internal/processing/search/get.go
@@ -524,7 +524,7 @@ func (p *Processor) byURI(
switch {
case gtserror.IsUnretrievable(err),
gtserror.IsWrongType(err),
- gtserror.NotPermitted(err):
+ gtserror.IsNotPermitted(err):
log.Debugf(ctx,
"semi-expected error type looking up %s as status: %v",
uri, err,