fix: pass expected object to isAudited (#49548)

pull/49569/head
Naomi Carrigan 2023-03-07 11:15:39 -08:00 committed by GitHub
parent 5f59b2b8c7
commit 04ce4e7709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ function isAuditedCert(language, superblock) {
if (!language || !superblock)
throw Error('Both arguments must be provided for auditing');
const auditedSuperBlocks = getAuditedSuperBlocks(language);
const auditedSuperBlocks = getAuditedSuperBlocks({ language });
return auditedSuperBlocks.includes(superblock);
}