diff --git a/api/config/routes.php b/api/config/routes.php index 3f837b5..2280169 100644 --- a/api/config/routes.php +++ b/api/config/routes.php @@ -41,13 +41,13 @@ return [ '/minecraft/session/hasJoined' => 'session/session/has-joined', '/minecraft/session/legacy/hasJoined' => 'session/session/has-joined-legacy', '/minecraft/session/profile/' => 'session/session/profile', - 'POST /minecraft/session/profile/lookup/bulk/byname' => 'mojang/api/uuids-by-usernames', // Mojang API module routes '/mojang/profiles/' => 'mojang/api/uuid-by-username', '/mojang/profiles//names' => 'mojang/api/usernames-by-uuid', 'POST /mojang/profiles' => 'mojang/api/uuids-by-usernames', 'GET /mojang/services/minecraft/profile' => 'mojang/services/profile', + 'POST /mojang/services/minecraft/profile/lookup/bulk/byname' => 'mojang/api/uuids-by-usernames', // authlib-injector '/authlib-injector/authserver/' => 'authserver/authentication/', diff --git a/api/tests/functional/mojang/UsernamesToUuidsCest.php b/api/tests/functional/mojang/UsernamesToUuidsCest.php index 0e7c8d2..a58160c 100644 --- a/api/tests/functional/mojang/UsernamesToUuidsCest.php +++ b/api/tests/functional/mojang/UsernamesToUuidsCest.php @@ -137,8 +137,8 @@ class UsernamesToUuidsCest { private function bulkProfilesEndpoints(): array { return [ - ['/api/authlib-injector/api/profiles/minecraft'], - ['/api/authlib-injector/sessionserver/session/minecraft/profile/lookup/bulk/byname'], + ['/api/mojang/profiles'], + ['/api/mojang/services/minecraft/profile/lookup/bulk/byname'], ]; }