mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🎨 代码格式化
This commit is contained in:
@@ -15,13 +15,15 @@ import HutaoApi from "../api";
|
||||
* @since Alpha v0.2.0
|
||||
* @return {Promise<TGApp.Plugins.Hutao.AbyssOverview>}
|
||||
*/
|
||||
async function getOverview (): Promise<TGApp.Plugins.Hutao.AbyssOverview> {
|
||||
async function getOverview(): Promise<TGApp.Plugins.Hutao.AbyssOverview> {
|
||||
const url = HutaoApi.Abyss.overview;
|
||||
return await http.fetch<TGApp.Plugins.Hutao.AbyssOverviewResponse>(url, {
|
||||
method: "GET",
|
||||
}).then((res) => {
|
||||
return res.data.data;
|
||||
});
|
||||
return await http
|
||||
.fetch<TGApp.Plugins.Hutao.AbyssOverviewResponse>(url, {
|
||||
method: "GET",
|
||||
})
|
||||
.then((res) => {
|
||||
return res.data.data;
|
||||
});
|
||||
}
|
||||
|
||||
export default getOverview;
|
||||
|
||||
Reference in New Issue
Block a user