Skip to content

Commit

Permalink
fix: missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
7sete7 committed Apr 18, 2024
1 parent 5ec8202 commit 9369a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imports/data/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ export async function update({ authTokenId, document, data, contextUser, tracing
const validateLookupsResults = await BluebirdPromise.mapSeries(
Object.keys(data.data).filter(key => metaObject.fields[key]?.type === 'lookup'),
async key => {
const lookupValidateResult = validateAndProcessValueFor({
const lookupValidateResult = await validateAndProcessValueFor({
meta: metaObject,
fieldName: key,
value: data.data[key],
Expand Down

0 comments on commit 9369a3e

Please sign in to comment.