Rest of getHomepageListings
This commit is contained in:
@@ -135,6 +135,7 @@ class HeaptraderAPI
|
||||
async getHomepageListings(): Promise<Array<Listing>>
|
||||
{
|
||||
// TODO: account for pagination and filtering options
|
||||
const response = await this._axios.
|
||||
const response = await this._axios.get<Array<Listing>>("/api/listing");
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user