Display all Project Contributors on About page using GitHub API (#382)

This commit is contained in:
wiz authored and GitHub committed 2021-03-09 01:56:41 +07:00
1 parent 8f5f10fb2b
commit 0134188582
4 files changed
+45 -4

No files matched your search

+4
View File
@@ -77,6 +77,10 @@ export class ApiService {
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations');
}
getContributor$(): Observable<any[]> {
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/contributors');
}
checkDonation$(orderId: string): Observable<any[]> {
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations/check?order_id=' + orderId);
}