From 9fa8d19cf40fcf12e8e79d14e30b021b35453eff Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 15 Nov 2023 12:10:31 +0100 Subject: [PATCH] Fix typo --- routers/api/v1/activitypub/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 03522887e6..670b8b150e 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -35,7 +35,7 @@ func Repository(ctx *context.APIContext) { // "200": // "$ref": "#/responses/ActivityPub" - link := fmt.Sprintf("%s/api/v1/activitypub/repoistory-id/%d", strings.TrimSuffix(setting.AppURL, "/"), ctx.Repo.Repository.ID) + link := fmt.Sprintf("%s/api/v1/activitypub/repository-id/%d", strings.TrimSuffix(setting.AppURL, "/"), ctx.Repo.Repository.ID) repo := forgefed.RepositoryNew(ap.IRI(link)) repo.Name = ap.NaturalLanguageValuesNew()