Skip to content

Removed dummy data, fixed bugs, updated FoodListing Model and added extra error handling#57

Merged
Prakhar896 merged 13 commits intomainfrom
joshua
Jul 19, 2024
Merged

Removed dummy data, fixed bugs, updated FoodListing Model and added extra error handling#57
Prakhar896 merged 13 commits intomainfrom
joshua

Conversation

@Sadliquid
Copy link
Copy Markdown
Contributor

@Sadliquid Sadliquid commented Jul 13, 2024

What was done in this PR

1.) Removed hardcoded data and dummy data creation in onDBSynchronise
2.) Fixed bug in LoginAccount, see below
3.) Hosts are now unable to favourite their own listing
4.) Added coordinates in FoodListing Model
5.) Fixed bugs

Sensitive changes

1.) Added coordinates in FoodListing Model
2.) Modified userInfo in backend/routes/identity/LoginAccount by removing the user. prefix before userType. This is a fix by @JunHammy for a bug that was discovered recently.

---END OF PR---

@Sadliquid Sadliquid added the enhancement New feature or request label Jul 13, 2024
@Sadliquid Sadliquid requested a review from Prakhar896 July 13, 2024 18:19
Comment thread index.js
Comment thread models/FoodListing.js
Comment thread routes/cdn/coreData.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
@Sadliquid Sadliquid requested a review from Prakhar896 July 19, 2024 01:49
Copy link
Copy Markdown
Contributor

@Prakhar896 Prakhar896 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really well-written. Some consistency and standardisation issues only.

Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
Comment thread routes/listings/listings.js Outdated
@Sadliquid Sadliquid requested a review from Prakhar896 July 19, 2024 13:41
Copy link
Copy Markdown
Contributor

@Prakhar896 Prakhar896 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Prakhar896 Prakhar896 merged commit a950f7e into main Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants