mirror of
https://github.com/elyby/accounts.git
synced 2024-11-08 13:42:30 +05:30
Move new "usernames -> UUIDs" endpoint to the correct location (#33)
* change: test non-injector endpoints in non-injector tests * fix: move new "usernames -> UUIDs" endpoint to the correct location
This commit is contained in:
parent
0c110213f4
commit
4231f99717
@ -41,13 +41,13 @@ return [
|
||||
'/minecraft/session/hasJoined' => 'session/session/has-joined',
|
||||
'/minecraft/session/legacy/hasJoined' => 'session/session/has-joined-legacy',
|
||||
'/minecraft/session/profile/<uuid>' => 'session/session/profile',
|
||||
'POST /minecraft/session/profile/lookup/bulk/byname' => 'mojang/api/uuids-by-usernames',
|
||||
|
||||
// Mojang API module routes
|
||||
'/mojang/profiles/<username>' => 'mojang/api/uuid-by-username',
|
||||
'/mojang/profiles/<uuid>/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/<action>' => 'authserver/authentication/<action>',
|
||||
|
@ -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'],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user