Check for the last DNS deployment record when deleting

This commit is contained in:
IshaVenikar 2024-10-15 15:22:57 +05:30 committed by Nabarun
parent 443a3f2b6e
commit e3931b4bf8

View File

@ -1095,7 +1095,7 @@ export class Service {
}
await this.laconicRegistry.createApplicationDeploymentRemovalRequest({
deploymentId: deploymentRecords[0].id,
deploymentId: deploymentRecords[deploymentRecords.length - 1].id,
deployerLrn: deployment.deployerLrn
});
}