From 4e1e65e14f757bf63dff881ce7b626e05f12b474 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 3 Nov 2023 17:45:53 +0100 Subject: [PATCH] log repository under activity --- docs/unsure-where-to-put/dev-notes.md | 2 +- routers/api/v1/activitypub/repository.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/unsure-where-to-put/dev-notes.md b/docs/unsure-where-to-put/dev-notes.md index bab6b4dbf5..6de9fa441f 100644 --- a/docs/unsure-where-to-put/dev-notes.md +++ b/docs/unsure-where-to-put/dev-notes.md @@ -23,4 +23,4 @@ git push --force git checkout forgejo-federated-star git rebase forgejo-development git push --force -``` \ No newline at end of file +``` diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index 9805c0f4a1..9e4ccc619c 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -69,5 +69,7 @@ func RepositoryInbox(ctx *context.APIContext) { // "204": // "$ref": "#/responses/empty" + log.Info("RepositoryInbox: %v, %v", ctx.Repo.Repository.OwnerName, ctx.Repo.Repository.Name) + ctx.Status(http.StatusNoContent) }