Grafting API RAM cost & doc update

This commit is contained in:
nickofolas
2022-03-27 15:33:31 -04:00
parent 9f6c827dee
commit 3b32811f5e
3 changed files with 15 additions and 4 deletions
+3
View File
@@ -225,6 +225,9 @@ async function parseOnlyRamCalculate(
} else if (ref in workerScript.env.vars.ui) {
func = workerScript.env.vars.ui[ref];
refDetail = `ui.${ref}`;
} else if (ref in workerScript.env.vars.grafting) {
func = workerScript.env.vars.grafting[ref];
refDetail = `grafting.${ref}`;
} else {
func = workerScript.env.vars[ref];
refDetail = `${ref}`;