mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
Get data from form
This commit is contained in:
parent
e846e8225b
commit
5b01517c12
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,7 @@ import (
|
|||
"code.gitea.io/gitea/modules/forgefed"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"code.gitea.io/gitea/modules/web"
|
||||
|
||||
ap "github.com/go-ap/activitypub"
|
||||
//f3 "lab.forgefriends.org/friendlyforgeformat/gof3"
|
||||
|
@ -70,6 +71,10 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
|
||||
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)
|
||||
opt := web.GetForm(ctx).(*forgefed.Star)
|
||||
|
||||
log.Info("RepositoryInbox: Activity Source %v,", opt.Source)
|
||||
|
||||
ctx.Status(http.StatusNoContent)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue