chore(utils): remove unnecessary await ()

This commit is contained in:
@beer 2025-01-04 12:15:25 +06:00 committed by GitHub
parent e59f5dbb8f
commit 154fdaaad9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ export async function deleteApp(server: string) {
export async function listServers() {
const keys = await storage.getKeys('servers:v3:')
const servers = new Set<string>()
for await (const key of keys) {
for (const key of keys) {
const id = key.split(':')[2]
if (id)
servers.add(id.toLocaleLowerCase())