Template
1
0
Fork 0
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:
erik 2024-03-26 16:21:09 +01:00
parent 04f907c8c8
commit e9bbdc678b

View file

@ -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