mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 11:01:49 +01:00
Not using object URL
This commit is contained in:
parent
04f907c8c8
commit
e9bbdc678b
1 changed files with 0 additions and 1 deletions
|
@ -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