fix: ensure we have records

This commit is contained in:
Derrick Hammer 2023-07-31 12:53:45 -04:00
parent 067d53b117
commit 2937761e11
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export async function resolve(
return e as Error;
}
if (res) {
if (res && res?.records.length) {
cache.set(cacheId, res);
}