Rest of getHomepageListings

This commit is contained in:
2025-11-06 11:36:04 -08:00
parent e83746d6d8
commit 8f1dd23b62

View File

@@ -135,6 +135,7 @@ class HeaptraderAPI
async getHomepageListings(): Promise<Array<Listing>> async getHomepageListings(): Promise<Array<Listing>>
{ {
// TODO: account for pagination and filtering options // 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;
} }
} }