Skip to content

Commit ea93e34

Browse files
fix(contacts): correct update helper parameter types
1 parent d467dd4 commit ea93e34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/cmd/contacts_crud.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func contactsURLs(values []string) []*people.Url {
247247
return out
248248
}
249249

250-
func contactsApplyPersonName(person *people.Person, givenSet bool, given, familySet bool, family string) {
250+
func contactsApplyPersonName(person *people.Person, givenSet bool, given string, familySet bool, family string) {
251251
curGiven := ""
252252
curFamily := ""
253253
if len(person.Names) > 0 && person.Names[0] != nil {
@@ -263,7 +263,7 @@ func contactsApplyPersonName(person *people.Person, givenSet bool, given, family
263263
person.Names = []*people.Name{{GivenName: curGiven, FamilyName: curFamily}}
264264
}
265265

266-
func contactsApplyPersonOrganization(person *people.Person, orgSet bool, org, titleSet bool, title string) {
266+
func contactsApplyPersonOrganization(person *people.Person, orgSet bool, org string, titleSet bool, title string) {
267267
curOrg := ""
268268
curTitle := ""
269269
if len(person.Organizations) > 0 && person.Organizations[0] != nil {

0 commit comments

Comments
 (0)