add comment

This commit is contained in:
Niels Lyngsø
2023-06-07 13:36:26 +02:00
parent 31101e4ded
commit d7574cb0e2

View File

@@ -175,6 +175,8 @@ export class UmbDocumentTypeRepository
if (!error && data) {
// TODO: The parts here is a hack, when we can trust the IDs we send, then this should be removed/changed:
const splitResultUrl = data.split("/");
const newId = splitResultUrl[splitResultUrl.length - 1];