mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
13279299c4
commit
24dcf78be8
16 changed files with 25 additions and 26 deletions
|
|
@ -131,9 +131,8 @@ async function createDefaultMenu({path, data, DOM, CloudCmd}) {
|
|||
|
||||
async function readDefaultMenu({prefix}) {
|
||||
const res = await fetch(`${prefix}/api/v1/user-menu/default`);
|
||||
const data = await res.text();
|
||||
|
||||
return data;
|
||||
return await res.text();
|
||||
}
|
||||
|
||||
module.exports._selectNames = selectNames;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue