diff --git a/SynonymGroup.ts b/SynonymGroup.ts index d7ff381..5d64fde 100644 --- a/SynonymGroup.ts +++ b/SynonymGroup.ts @@ -467,7 +467,7 @@ LIMIT 500`; } await Promise.all( - authorizedNames.map(async (n) => { + authorizedNames.filter((n) => n.colURI).map(async (n) => { const [acceptedColURI, promises] = await this.getAcceptedCol( n.colURI!, name,