mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-21 17:24:10 +00:00
add more integration testcases
This commit is contained in:
parent
5ce359b14e
commit
735d9629cf
2 changed files with 71 additions and 11 deletions
|
@ -74,9 +74,6 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
form := web.GetForm(ctx)
|
||||
httpStatus, title, err := federation.ProcessLikeActivity(ctx, form, repository.ID)
|
||||
if err != nil {
|
||||
log.Error("Status: %v", httpStatus)
|
||||
log.Error("Title: %v", title)
|
||||
log.Error("Error: %v", err)
|
||||
ctx.Error(httpStatus, title, err)
|
||||
}
|
||||
ctx.Status(http.StatusNoContent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue