mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 08:31:27 -05:00
Remove typo in func
This commit is contained in:
parent
c0f1681fa3
commit
946e5cf34c
2 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@ func (a ActorID) GetUserId() int {
|
|||
return result
|
||||
}
|
||||
|
||||
func (a ActorID) GetNormailzedUri() string { // ToDo: Port might be empty
|
||||
func (a ActorID) GetNormalizedUri() string { // ToDo: Port might be empty
|
||||
result := fmt.Sprintf("%s://%s:%s/%s/%s", a.schema, a.host, a.port, a.path, a.userId)
|
||||
return result
|
||||
}
|
||||
|
|
|
@ -219,8 +219,8 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
log.Info("RepositoryInbox: Actor parsed. %v", senderActorId)
|
||||
log.Info("RepositoryInbox: Actor parsed. %v", receivedRepoId)
|
||||
|
||||
remoteStargazer := senderActorId.GetNormailzedUri() // used as LoginName in newly created user
|
||||
starReceiver := receivedRepoId.GetNormailzedUri()
|
||||
remoteStargazer := senderActorId.GetNormalizedUri() // used as LoginName in newly created user
|
||||
starReceiver := receivedRepoId.GetNormalizedUri()
|
||||
log.Info("remotStargazer: %v", remoteStargazer)
|
||||
log.Info("starReceiver: %v", starReceiver)
|
||||
|
||||
|
|
Loading…
Reference in a new issue