fix: pass expected object to isAudited (#49548)
parent
5f59b2b8c7
commit
04ce4e7709
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue