Update src/deployments.ts

This commit is contained in:
zramsay 2024-07-12 17:09:18 +00:00
parent 6adc0af591
commit 698e630a18

View File

@ -85,7 +85,7 @@ export class RegHelper {
if (!idOrName) { if (!idOrName) {
return null; return null;
} }
if (idOrName.startsWith('crn:')) { if (idOrName.startsWith('lrn:')) {
return this.resolveName(idOrName); return this.resolveName(idOrName);
} }
return this.getRecordById(idOrName); return this.getRecordById(idOrName);