Skip to content

Instantly share code, notes, and snippets.

@rjriel
Created May 28, 2019 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjriel/939f5d421448d0cd6c4be78f002133fe to your computer and use it in GitHub Desktop.
Save rjriel/939f5d421448d0cd6c4be78f002133fe to your computer and use it in GitHub Desktop.
handle finish
if (finishedFound) {
...
const badgePatchProperties = [
{
qOp: "replace",
qPath: "/badge",
qValue: "0"
},
{
qOp: "replace",
qPath: "/raceId",
qValue: '""'
}]
await badgeObject.applyPatches(badgePatchProperties)
await qixApp.saveObjects()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment