From 18809f811da6e68400329c4efc9a45f5374989df Mon Sep 17 00:00:00 2001 From: Gusted Date: Mon, 22 Aug 2022 18:29:08 +0200 Subject: [PATCH] Make the frontend linter happy --- routers/api/v1/activitypub/repo.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/activitypub/repo.go b/routers/api/v1/activitypub/repo.go index ea600bcc6d..30142ac61d 100644 --- a/routers/api/v1/activitypub/repo.go +++ b/routers/api/v1/activitypub/repo.go @@ -161,7 +161,7 @@ func RepoInbox(ctx *context.APIContext) { // RepoOutbox function returns the repo's Outbox OrderedCollection func RepoOutbox(ctx *context.APIContext) { - // swagger:operation GET /activitypub/repo/{username}/{reponame}/outbox activitypub activitypubPersonOutbox + // swagger:operation GET /activitypub/repo/{username}/{reponame}/outbox activitypub activitypubRepoOutbox // --- // summary: Returns the outbox // produces: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 2c4d8a6772..937bb9c23d 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -131,7 +131,7 @@ "activitypub" ], "summary": "Returns the outbox", - "operationId": "activitypubPersonOutbox", + "operationId": "activitypubRepoOutbox", "parameters": [ { "type": "string",