Closed OmerK100 closed 4 months ago
Name | Link |
---|---|
Latest commit | 1ddaf3226ad7e10133431b2e8363ce59e13dc4e7 |
Latest deploy log | https://app.netlify.com/sites/tindira/deploys/6673fe3ee7e23a0008342b6b |
Also images array is initialized to empty, don't send it in the body.
Okay, also added updateListing function
Also updated getListingById, getUserByUserName and regsiter.js
Major updates: Now both createListing and updateListing receive a query parameter, (username and listingId accordingly). Price calculation is done on the frontend for both functions, hence price field is now unnecessary, and instead pricePerWholeTime and pricePerMonth are sent instead through the request body.
Edits to lambda functions: Changed createListing Changed getUserByUserName Changed getListingById Added updateListing Added isUsernameAvailable Added deleteListing Added updateUser