Remove typo in func

This commit is contained in:
erik 2023-12-06 15:37:14 +01:00 committed by Michael Jerger
parent c0f1681fa3
commit 946e5cf34c
2 changed files with 3 additions and 3 deletions

View file

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

View file

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