Upgrade server depencencies
This commit is contained in:
parent
5c328e6610
commit
c39ea24b71
4 changed files with 376 additions and 1093 deletions
|
@ -36,7 +36,7 @@ function transactionRetryer <T> (func: (err: any, data: T) => any) {
|
|||
})
|
||||
}
|
||||
|
||||
function updateInstanceWithAnother <T> (instanceToUpdate: Model<T>, baseInstance: Model<T>) {
|
||||
function updateInstanceWithAnother <T extends Model<T>> (instanceToUpdate: Model<T>, baseInstance: Model<T>) {
|
||||
const obj = baseInstance.toJSON()
|
||||
|
||||
for (const key of Object.keys(obj)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue