From 7ad04ba8efe7821f4c60f2a63c3a4da1a8086d63 Mon Sep 17 00:00:00 2001 From: yudejp Date: Fri, 24 Sep 2021 19:07:48 +0900 Subject: [PATCH] Update export default name --- pages/api/PlayerName/[uuid].js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/PlayerName/[uuid].js b/pages/api/PlayerName/[uuid].js index d2cdae2..6974b8c 100644 --- a/pages/api/PlayerName/[uuid].js +++ b/pages/api/PlayerName/[uuid].js @@ -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 \ No newline at end of file +export default RawPlayerName \ No newline at end of file