Update workflow.ts, await hatchet.ratelimits.upsert (#1772)

This is a promise and should be awaited
This commit is contained in:
Tyler Kahn
2025-05-27 10:56:18 -04:00
committed by GitHub
parent 94fcf194f5
commit 8846610568
+1 -1
View File
@@ -2,7 +2,7 @@ import { RateLimitDuration } from '@hatchet-dev/typescript-sdk/protoc/v1/workflo
import { hatchet } from '../hatchet-client';
// > Upsert Rate Limit
hatchet.ratelimits.upsert({
await hatchet.ratelimits.upsert({
key: 'api-service-rate-limit',
limit: 10,
duration: RateLimitDuration.SECOND,