Skip to content

Commit

Permalink
Update _workspace.js
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-leech committed Sep 26, 2024
1 parent 7267572 commit 498a0b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/workspace/_workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ async function test(req, res) {
// Will get layer and assignTemplates to workspace.
const layer = await getLayer({ locale: localeKey, layer: layerKey, user: req.params.user })

locale.layers[layerKey] = layer;

if (layer.err) test.errArr.push(`${layerKey}: ${layer.err}`)
}

Expand Down

0 comments on commit 498a0b0

Please sign in to comment.