More changes for db migration
This commit is contained in:
parent
de0284e48a
commit
889dc02945
33 changed files with 740 additions and 100 deletions
|
@ -20,7 +20,11 @@ export function* token() {
|
|||
}
|
||||
|
||||
export function* transaction() {
|
||||
const transactions = yield models.transaction.findAll({ userId: this.user.id });
|
||||
const transactions = yield models.transaction.findAll({
|
||||
where: {
|
||||
userId: this.user.id,
|
||||
},
|
||||
});
|
||||
|
||||
this.body = transactions.map((item) => {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue