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:
parent
e3e4cc5a5e
commit
7ad04ba8ef
@ -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
|
Loading…
Reference in New Issue
Block a user