@gzl10/nexus-backend 0.16.5 → 0.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -963,7 +963,7 @@ function prefixPluginTables(code, modules) {
|
|
|
963
963
|
const fields = def.fields;
|
|
964
964
|
if (!fields) continue;
|
|
965
965
|
for (const field of Object.values(fields)) {
|
|
966
|
-
const relation = field?.
|
|
966
|
+
const relation = field?.relation;
|
|
967
967
|
if (!relation?.table) continue;
|
|
968
968
|
if (pluginTables.has(relation.table)) {
|
|
969
969
|
relation.table = `${prefix}${relation.table}`;
|