mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Get data from form
This commit is contained in:
parent
e846e8225b
commit
5b01517c12
|
@ -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