fix tests
This commit is contained in:
@@ -122,7 +122,10 @@ export class MetaService implements OnApplicationShutdown {
|
|||||||
|
|
||||||
return metas[0];
|
return metas[0];
|
||||||
} else {
|
} else {
|
||||||
return await transactionalEntityManager.save(MiMeta, data);
|
return await transactionalEntityManager.save(MiMeta, {
|
||||||
|
...data,
|
||||||
|
id: 'x',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user