Refactor how userFromField is passed down to the client

This commit is contained in:
Joseph Garrone
2024-06-12 19:41:05 +02:00
parent 0fd836314a
commit b1e58e1add
3 changed files with 142 additions and 161 deletions

View File

@ -168,8 +168,8 @@ export async function buildJar(params: {
})();
const modifiedFtlFileContent = ftlFileContent.replace(
`out["pageId"] = "\${pageId}";`,
`out["pageId"] = "${pageId}"; out["realPageId"] = "${realPageId}";`
`out.pageId = "\${pageId}";`,
`out.pageId = "${pageId}"; out.realPageId = "${realPageId}";`
);
assert(modifiedFtlFileContent !== ftlFileContent);