Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

log who is doing the inbox post

This commit is contained in:
Michael Jerger 2023-11-06 08:49:58 +01:00
parent 4e1e65e14f
commit 6587b6d62b

View file

@ -69,7 +69,8 @@ func RepositoryInbox(ctx *context.APIContext) {
// "204":
// "$ref": "#/responses/empty"
log.Info("RepositoryInbox: %v, %v", ctx.Repo.Repository.OwnerName, ctx.Repo.Repository.Name)
log.Info("RepositoryInbox: repo %v, %v", ctx.Repo.Repository.OwnerName, ctx.Repo.Repository.Name)
log.Info("RepositoryInbox: doer %v, %v", ctx.Doer.Name, ctx.Doer.ID)
ctx.Status(http.StatusNoContent)
}