Remove unnecessary promise handling

pull/4159/head
Alex Dik 9 years ago
parent 3e14fbab2c
commit 8b9861eb57
  1. 4
      frontend/app/components/api/api-work-packages/api-work-packages.service.ts

@ -47,9 +47,7 @@ export class ApiWorkPackagesService {
}
public list(offset:number, pageSize:number, query:api.ex.Query) {
return this.WorkPackages.getList(this.queryAsV3Params(offset, pageSize, query)).then(wpCollection => {
return wpCollection;
});
return this.WorkPackages.getList(this.queryAsV3Params(offset, pageSize, query));
}

Loading…
Cancel
Save