fix: memberRepo methods syntax (#35)

* rearranged update member field and remove member to match expected structure in typeORM

* update docstring

* change insert to save in memberRepo

* added command in package.json

---------

Co-authored-by: Aster Fialla <asterfialla@gmail.com>
This commit is contained in:
2026-03-06 16:39:23 -05:00
committed by GitHub
parent 10eab6de74
commit 14ef1581c1
3 changed files with 8 additions and 15 deletions

View File

@@ -35,7 +35,7 @@
"scripts": {
"test": "jest",
"start": "ts-node src/bot.js",
"build-db": "tsc",
"new-migration": "typeorm-ts-node-commonjs migration:create database/migrations/update",
"generate-db": "typeorm-ts-node-commonjs migration:generate -d database/data-source.ts database/migrations/update",
"run-migration": "typeorm-ts-node-commonjs migration:run -d database/data-source.ts"
}