fix(backend): nodeNumber handmatig invullen
Om MikroORM bug die optreedt bij het persisteren van een kind van een entity met automatisch gegenereerde PK te vermijden.
This commit is contained in:
parent
ffa0915647
commit
a803b45046
5 changed files with 28 additions and 11 deletions
|
@ -1,5 +1,9 @@
|
|||
import fs from 'fs';
|
||||
import path from 'node:path';
|
||||
import {fileURLToPath} from "node:url";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
/**
|
||||
* Load the asset at the given path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue