Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issues caused wrong relative paths (#620)
* fix: adds order attribute to the ICommunity interface * chore: moves generated files to the 'dist' directory, and adds it to the .gitignore file * refactor: removes 'orders' field from the ICommunity interface The 'orders' field is not part of the Mongoose document, but rather it's something that's calculated on-the-fly as part of the response to the `/findcomms` command for each community. Converting the mongoose document to a plain object gets rid of the TSC errors without having to introduce an 'orders' field to the ICommunity interface. This solution is preferred as the ICommunity interface should ideally mirror what's stored in the database. * fix: adjusts relative paths that were causing issues with /setlang and /version commands
- Loading branch information