fix bugs for query -app
This commit is contained in:
13
src/scripts/get-app.ts
Normal file
13
src/scripts/get-app.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { queryAppVersion } from '@/query/app-manager/query-app.ts';
|
||||
import { sleep } from 'bun';
|
||||
|
||||
await sleep(2000); // Ensure the environment is ready
|
||||
const main = async () => {
|
||||
console.log('Fetching app version...');
|
||||
const res = await queryAppVersion({
|
||||
key: 'center',
|
||||
version: '0.0.11',
|
||||
});
|
||||
console.log(res);
|
||||
};
|
||||
main();
|
||||
Reference in New Issue
Block a user