Skip to content

Commit

Permalink
Get all unverified companies
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-jung committed Sep 10, 2019
1 parent ebd8cc8 commit fc2831f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/analytics/analytics.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class AnalyticsService {
.then(res => res.json())
.catch(this.handleError);
}

getCompAnalytics(comp:string): Promise<any> {
const url = `${this.url_da}?companyID=${comp}`;
return this.http
Expand Down Expand Up @@ -89,7 +89,8 @@ export class AnalyticsService {
}

getUnverifiedCompanies(page: number, sortBy?: string, orderBy?: string): Promise<any> {
const url = `${this.url_identity}/admin/unverified_companies?page=${page}&sortBy=${sortBy}&orderBy=${orderBy}`;
var url = `${this.url_identity}/admin/unverified_companies?page=${page}&sortBy=${sortBy}&orderBy=${orderBy}`;
url += "&size=99999";
const token = 'Bearer '+this.cookieService.get("bearer_token");
const headers_token = new Headers({'Content-Type': 'application/json', 'Authorization': token});
return this.http
Expand Down

0 comments on commit fc2831f

Please sign in to comment.