🚀New lib version v0.3.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
8
dist/services/StatsService.js
vendored
8
dist/services/StatsService.js
vendored
@@ -83,27 +83,27 @@ class StatsService {
|
||||
}
|
||||
/**
|
||||
* Get top orgs by distance
|
||||
* Returns the top ten organisations by distance.
|
||||
* Returns the top ten organizations by distance.
|
||||
* @returns ResponseStatsOrgnisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async statsControllerGetTopOrgsByDistance() {
|
||||
const result = await request_1.request({
|
||||
method: 'GET',
|
||||
path: `/api/stats/organisations/distance`,
|
||||
path: `/api/stats/organizations/distance`,
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Get top orgs by donations
|
||||
* Returns the top ten organisations by donations.
|
||||
* Returns the top ten organizations by donations.
|
||||
* @returns ResponseStatsOrgnisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async statsControllerGetTopOrgsByDonations() {
|
||||
const result = await request_1.request({
|
||||
method: 'GET',
|
||||
path: `/api/stats/organisations/donations`,
|
||||
path: `/api/stats/organizations/donations`,
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user