Transaction username mongodb mutation (#14231)

* migrate newest usernames in transactions

* fix lint

* change the parameters
This commit is contained in:
negue
2022-09-21 21:42:39 +02:00
committed by GitHub
parent 6e5cac88fc
commit e9ee2d3fdd
6 changed files with 104 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import { authWithHeaders } from '../../middlewares/auth';
import { chatReporterFactory } from '../../libs/chatReporting/chatReporterFactory';
import { ensurePermission } from '../../middlewares/ensureAccessRight';
import { model as Transaction } from '../../models/transaction';
import { TransactionModel as Transaction } from '../../models/transaction';
const api = {};