0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

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

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