Corrected main

This commit is contained in:
Patrick Alvin Alcala 2026-02-19 13:18:24 +08:00
parent cf9622801a
commit 9c81286728

View file

@ -237,9 +237,9 @@ export default () => {
} }
} }
const checkPops = async (application string) => { const checkPops = async (application: string) => {
const response = await getApi('check-popsrecord', application) const response = await getApi('check-popsrecord', application)
const result = response.result[0] const result = response.result
return result > 0 return result > 0
} }