-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
{{if not $realm.EnableENExpress}} | ||
<div class="card mb-3"> | ||
<div class="card-header"> | ||
ENX - Exposure Notifications Express |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENX - Exposure Notifications Express | |
EN Express - Exposure Notifications Express |
We say "EN Express" everywhere else except these titles.
{{if $realm.EnableENExpress}} | ||
<div class="card mb-3"> | ||
<div class="card-header"> | ||
ENX - Exposure Notifications Express |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENX - Exposure Notifications Express | |
EN Express - Exposure Notifications Express |
@@ -311,6 +311,8 @@ func realMain(ctx context.Context) error { | |||
realmadminController := realmadmin.New(ctx, config, db, h) | |||
realmSub.Handle("/settings", realmadminController.HandleIndex()).Methods("GET") | |||
realmSub.Handle("/settings/save", realmadminController.HandleSave()).Methods("POST") | |||
realmSub.Handle("/settings/enable-express", realmadminController.HandleEnableExpress()).Methods("POST") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should technically be PATCH, but meh.
@@ -80,6 +81,9 @@ type Realm struct { | |||
CertificateAudience string `gorm:"type:varchar(150); default ''"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized this is a bug. Missing a colon after default.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikehelmick, sethvargo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Proposed Changes
Release Note