mirror of
https://github.com/yude-jp/yude.jp
synced 2025-10-12 19:28:43 +09:00
Update export default name
This commit is contained in:
@@ -7,7 +7,7 @@ export const getName = async (props) => {
|
||||
return fetch('https://api.ashcon.app/mojang/v2/user/' + uuid);
|
||||
};
|
||||
|
||||
const Spotify = async (req, res) => {
|
||||
const RawPlayerName = async (req, res) => {
|
||||
const { uuid } = req.query
|
||||
const response = await getName(uuid);
|
||||
const data = await response.json();
|
||||
@@ -20,4 +20,4 @@ const Spotify = async (req, res) => {
|
||||
});
|
||||
};
|
||||
|
||||
export default Spotify
|
||||
export default RawPlayerName
|
Reference in New Issue
Block a user