Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed outdated
init
command (#9422)
* fix: Updating the samples current version of typeorm. The cli sample was using the getRepository version in the UserController and in the current versions of the typeorm it was deprecated. Basically I changed the code to the current version using AppDataSource. * fix: improving code and fixing bugs I made several changes to the functions because they had bugs, such as the id being a "string" instead of a "number", the "userRepository" methods being outdated and checking the code to see if the user exists before doing some executions
- Loading branch information