diff --git a/user/user.go b/user/user.go index 1aad5cf2..1948dba5 100644 --- a/user/user.go +++ b/user/user.go @@ -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" @@ -29,7 +29,7 @@ var custodialAccountRegexp = regexp.MustCompile("unclaimed-custodial-automation\ var validRoles = map[string]struct{}{ RoleBrokered: {}, - RoleCareTeamMember: {}, + RoleCarePartner: {}, RoleClinic: {}, RoleClinician: {}, RoleCustodialAccount: {},