sr-npm 1.7.550 → 1.7.551
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/backend/data.js +1 -1
- package/package.json +1 -1
package/backend/data.js
CHANGED
|
@@ -162,7 +162,7 @@ async function insertValuesReference(jobToCustomValues) {
|
|
|
162
162
|
await wixData.insertReference(COLLECTIONS.JOBS, JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,jobId, items);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
async function
|
|
165
|
+
async function insertJobsReference(jobToCustomValues) {
|
|
166
166
|
for (const jobId of Object.keys(jobToCustomValues)) {
|
|
167
167
|
for (const valueId of jobToCustomValues[jobId]) {
|
|
168
168
|
await wixData.insertReference(COLLECTIONS.CUSTOM_VALUES, CUSTOM_VALUES_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,valueId, jobId);
|