adding username translation
This commit is contained in:
parent
a842e8f8e6
commit
3887d1299d
@ -5,6 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/rs/zerolog/log"
|
||||
"io"
|
||||
"net/http"
|
||||
"sync"
|
||||
@ -64,5 +65,7 @@ func (s *ProfileService) GetUsername(address string) string {
|
||||
s.cache[address] = name
|
||||
}
|
||||
|
||||
log.Debug().Msgf("[PROFILE] %s -> %s", address, s.cache[address])
|
||||
|
||||
return s.cache[address]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user