Created
May 28, 2019 14:58
-
-
Save rjriel/665a93854cc0501a0a368e4c39b4f427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const raceId = uuidv4() | |
const badgePatchProperties = [{ | |
qOp: "replace", | |
qPath: "/badge", | |
qValue: participant.badge | |
}, | |
{ | |
qOp: "replace", | |
qPath: "/raceId", | |
qValue: `"${raceId}"` | |
}] | |
await enigmaService.updateObject("Badge", badgePatchProperties) | |
await enigmaService.makeSelection("Badge", participant.badge) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment