Update export default name

This commit is contained in:
yude 2021-09-24 19:07:48 +09:00
parent e3e4cc5a5e
commit 7ad04ba8ef
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
1 changed files with 2 additions and 2 deletions

View File

@ -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