diff --git a/internal/http/mojang_api.go b/internal/http/mojang_api.go index a5f597c..268bcc5 100644 --- a/internal/http/mojang_api.go +++ b/internal/http/mojang_api.go @@ -54,6 +54,7 @@ func NewMojangApi( func (s *MojangApi) DefineRoutes(r gin.IRouter) { r.GET("/api/minecraft/session/profile/:uuid", s.getProfileByUuidHandler) r.GET("/api/mojang/profiles/:username", s.getUuidByUsernameHandler) + r.GET("/api/mojang/services/minecraft/profile/lookup/name/:username", s.getUuidByUsernameHandler) } func (s *MojangApi) getProfileByUuidHandler(c *gin.Context) {