mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-23 04:30:11 +09:00
Fix: avoid doing export default and val declare at the same time
This commit is contained in:
parent
24cf758cad
commit
7ee5d348dd
@ -36,7 +36,7 @@ export const getNowPlaying = async () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async (_, res) => {
|
const Spotify = async (_, res) => {
|
||||||
const response = await getNowPlaying();
|
const response = await getNowPlaying();
|
||||||
|
|
||||||
if (response.status === 204 || response.status > 400) {
|
if (response.status === 204 || response.status > 400) {
|
||||||
@ -56,3 +56,5 @@ export default async (_, res) => {
|
|||||||
title,
|
title,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export default Spotify
|
Loading…
Reference in New Issue
Block a user