max / goingson
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) |