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:
Gerald Schmittinger 2025-04-16 10:53:30 +02:00
parent ffa0915647
commit a803b45046
5 changed files with 28 additions and 11 deletions

View file

@ -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.