From 8f1dd23b62ebf45788d8fd9d0db30d893e0a6c3c Mon Sep 17 00:00:00 2001 From: James Shiffer Date: Thu, 6 Nov 2025 11:36:04 -0800 Subject: [PATCH] Rest of getHomepageListings --- src/lib/api.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index f0d9930..f526276 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -135,6 +135,7 @@ class HeaptraderAPI async getHomepageListings(): Promise> { // TODO: account for pagination and filtering options - const response = await this._axios. + const response = await this._axios.get>("/api/listing"); + return response.data; } }