"backend/internal/vscode:/vscode.git/clone" did not exist on "eb5e6214bcd239563359b62ec11fdaef2e662112"
  • erio's avatar
    feat(redeem): support subscription type in create-and-redeem API · 05edb551
    erio authored
    Add group_id and validity_days fields to CreateAndRedeemCodeRequest,
    enabling subscription-type redemption codes to be created and redeemed
    in a single API call.
    
    - Type defaults to "balance" when omitted for backward compatibility
    - Subscription type requires group_id (non-nil) and validity_days (>0)
    - Existing balance/concurrency callers are unaffected
    05edb551
redeem_handler.go 10.9 KB