Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 5206606

Browse files
committed
Default to signed (For now)
1 parent 165283a commit 5206606

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/profile-async/main.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func handleConwaySync(ctx context.Context, env *conf.Env, kc *keycloak.Keycloak[
118118
"paypal_subscription_id": user.PaypalMetadata.TransactionID,
119119
"paypal_price": user.PaypalMetadata.Price,
120120
"paypal_last_payment": nil,
121-
"waiver_signed": nil,
121+
"waiver_signed": true,
122122
}
123123
if out["fob_id"] == 0 {
124124
out["fob_id"] = nil
@@ -150,9 +150,6 @@ func handleConwaySync(ctx context.Context, env *conf.Env, kc *keycloak.Keycloak[
150150
if user.DiscountType == "family" {
151151
out["price_amount"] = 15
152152
}
153-
if user.WaiverState != "" {
154-
out["waiver_signed"] = true
155-
}
156153

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

0 commit comments

Comments
 (0)