0
0
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:
2021-09-24 19:07:48 +09:00
parent e3e4cc5a5e
commit 7ad04ba8ef

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