diff options
author | bobzel <zzzman@gmail.com> | 2024-08-13 16:31:13 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-08-13 16:31:13 -0400 |
commit | 5960fa9635c28c2b609826005cb7595ec6b9fb75 (patch) | |
tree | 809485b4eec82cd8ccbc76d21eb036eb303efc5f /src/fields/Doc.ts | |
parent | 2d0237c80167986fc72c2894bac311c732b910d4 (diff) |
fixed bugs introduced cleaning up database list ops.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index ad7609895..2ae9dbf02 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -329,7 +329,7 @@ export class Doc extends RefField { }); this[SelfProxy] = docProxy; if (!id || forceSave) { - DocServer.CreateField(docProxy); + DocServer.CreateDocField(docProxy); } // eslint-disable-next-line no-constructor-return return docProxy; // need to return the proxy from the constructor so that all our added fields will get called |