Skip to content

Commit

Permalink
fix error in script
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrathod28 committed Oct 3, 2023
1 parent 14e629f commit af4dd44
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/aca-playwright-shared/src/api/nodes-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,18 @@ export class NodesApi {
authorityId: username,
name: role
}
]
}
};

try {
return await this.apiService.nodes.updateNode(nodeId, data);
} catch (error) {
logger.error(`${this.constructor.name} ${this.setGranularPermission.name}`, error);
return null;
}
}

async removeUserAccessOnSpaceTemplate(nodeName: string): Promise<NodeEntry> {
try {
const templatesRootFolderId = await this.getSpaceTemplatesFolderId();
Expand Down

0 comments on commit af4dd44

Please sign in to comment.