Skip to content

Commit

Permalink
Default to signed (For now)
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Jan 19, 2025
1 parent 165283a commit 5206606
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/profile-async/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func handleConwaySync(ctx context.Context, env *conf.Env, kc *keycloak.Keycloak[
"paypal_subscription_id": user.PaypalMetadata.TransactionID,
"paypal_price": user.PaypalMetadata.Price,
"paypal_last_payment": nil,
"waiver_signed": nil,
"waiver_signed": true,
}
if out["fob_id"] == 0 {
out["fob_id"] = nil
Expand Down Expand Up @@ -150,9 +150,6 @@ func handleConwaySync(ctx context.Context, env *conf.Env, kc *keycloak.Keycloak[
if user.DiscountType == "family" {
out["price_amount"] = 15
}
if user.WaiverState != "" {
out["waiver_signed"] = true
}

if env.ConwayURL == "" || env.ConwayToken == "" {
log.Printf("Conway URL or Token not set")
Expand Down

0 comments on commit 5206606

Please sign in to comment.