Skip to content

Commit

Permalink
[dagit] fix clientTime arg (#11670)
Browse files Browse the repository at this point in the history
currently failing with
```
{"data":null,"errors":[{"message":"Variable '$clientTime' got invalid value 1673542779858; String cannot represent a non string value: 1673542779858","locations":[{"line":1,"column":69}]}]}
```

### How I Tested These Changes

rebuild_dagit with change - see mutation success
  • Loading branch information
alangenfeld committed Jan 12, 2023
1 parent 0153e0c commit 861059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js_modules/dagit/packages/core/src/app/Telemetry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function logTelemetry(
variables: {
action,
metadata: JSON.stringify(metadata),
clientTime: Date.now(),
clientTime: String(Date.now()),
clientId: clientID(),
},
}),
Expand Down

0 comments on commit 861059a

Please sign in to comment.