Skip to content

Commit

Permalink
Use "care_partner" role instead of "care_team_member"
Browse files Browse the repository at this point in the history
  • Loading branch information
lostlevels committed Apr 30, 2024
1 parent 7eda45c commit 2256d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
const (
TimestampFormat = "2006-01-02T15:04:05-07:00"
custodialEmailFormat = "unclaimed-custodial-automation+%020d@tidepool.org"
RoleCareTeamMember = "care_team_member"
RoleCarePartner = "care_partner"
RoleClinic = "clinic"
RoleClinician = "clinician"
RoleCustodialAccount = "custodial_account"
Expand All @@ -29,7 +29,7 @@ var custodialAccountRegexp = regexp.MustCompile("unclaimed-custodial-automation\

var validRoles = map[string]struct{}{
RoleBrokered: {},
RoleCareTeamMember: {},
RoleCarePartner: {},
RoleClinic: {},
RoleClinician: {},
RoleCustodialAccount: {},
Expand Down

0 comments on commit 2256d68

Please sign in to comment.