-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BACK-3183] Add ability to send connection invites for multiple providers #73
base: main
Are you sure you want to change the base?
Conversation
/deploy qa1 |
toddkazakov updated values.yaml file in qa1 |
toddkazakov updated flux policies file in qa1 |
toddkazakov deployed clinic-worker tk-connect-twiist-2 branch to qa1 namespace |
2a5fd8c
to
8b46d39
Compare
patients/consumer.go
Outdated
if *source.ProviderName == DexcomDataSourceProviderName && *source.State == string(clinics.DataSourceStatePendingReconnect) { | ||
templateName = "request_dexcom_reconnect" | ||
errs := make([]error, 0, len(providers)) | ||
for providerName, _ := range providers { |
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.
nitpick: superfluous _
patients/models.go
Outdated
|
||
func (u UpdatedFields) GetUpdatedConnectionRequests() ConnectionRequests { | ||
var requests ConnectionRequests | ||
if u.ProviderConnectionRequests != nil { |
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.
nitpick: You can range over a nil map.
patients/models.go
Outdated
requests = append(requests, v) | ||
} | ||
for _, v := range u.ProviderConnectionRequestsTwiist { | ||
requests = append(requests, v) |
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.
Would it be simpler to just do a requests = append(requests, u.ProviderConnectionRequestsTwiist...)
and the same for ProviderConnectionRequestsDexcom
?
03c90d9
to
1bcfad0
Compare
f197413
to
f11a73b
Compare
No description provided.