mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin * [ACA-4695] Improve eslint rules
This commit is contained in:
@@ -154,9 +154,8 @@ export class ContentApiService {
|
||||
};
|
||||
const queryOptions = Object.assign(defaults, options || {});
|
||||
|
||||
// @ts-ignore
|
||||
return from(
|
||||
new Promise((resolve, reject) => {
|
||||
new Promise<Node>((resolve, reject) => {
|
||||
this.nodesApi.getNode(nodeId, queryOptions).then(
|
||||
(nodeEntry: NodeEntry) => {
|
||||
resolve(nodeEntry.entry);
|
||||
|
Reference in New Issue
Block a user