Skip to main content

max / goingson

sync: BillingInterval::from_str renamed to from_wire in SyncKit SDK Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-06-19 22:34 UTC
Commit: 6d1ef1c62db230e6659b66c5f8e373b8d0b206f7
Parent: 264fca2
1 file changed, +1 insertion, -1 deletion
@@ -419,7 +419,7 @@ pub async fn sync_subscribe(
419 419 // GoingsOn syncs metadata only — no blob storage — so the cap is set to
420 420 // the formula's minimum (10 GiB) which trips the $2/mo floor. The cap is
421 421 // mostly cosmetic for non-blob apps but is required by the new API.
422 - let interval_enum = synckit_client::BillingInterval::from_str(&interval);
422 + let interval_enum = synckit_client::BillingInterval::from_wire(&interval);
423 423 const GO_DEFAULT_CAP_BYTES: i64 = 10 * 1024 * 1024 * 1024;
424 424 let response = match client
425 425 .create_subscription_checkout(GO_DEFAULT_CAP_BYTES, interval_enum)