mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 11:16:11 +01:00
Not using object URL
This commit is contained in:
parent
04f907c8c8
commit
e9bbdc678b
|
@ -26,7 +26,6 @@ func NewForgeLike(actorIRI string, objectIRI string) (ForgeLike, error) {
|
|||
// ToDo: Would validating the source by Actor.Type field make sense?
|
||||
object := new(ap.Object)
|
||||
object.ID = ap.IRI(objectIRI)
|
||||
object.URL = ap.IRI(objectIRI)
|
||||
|
||||
result.Actor = ap.ActorNew(ap.IRI(actorIRI), "ForgejoUser") // Thats us, a User
|
||||
result.Object = object // Thats them, a Repository
|
||||
|
|
Loading…
Reference in a new issue