Skip to content

Commit

Permalink
fix(main): fix slight type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
devinpapalangi committed Aug 7, 2024
1 parent 84b0979 commit 1d10823
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/actions/getListings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default async function getListings() {
const safeListings = listings.map((listing) => ({
...listing,
createdAt: listing.createdAt.toISOString(),
updatedAt: listing.updatedAt.toISOString(),
}));
return safeListings;
} catch (error) {
Expand Down

0 comments on commit 1d10823

Please sign in to comment.