Skip to content

Commit

Permalink
rename full_name to display_name to fix API changes (#1743)
Browse files Browse the repository at this point in the history
* rename full_name to display_name to fix API changes

* Update full_name to display_name in tests
  • Loading branch information
Chris Brown authored Nov 29, 2023
1 parent 10cc239 commit 6fc66be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const action: ActionDefinition<Settings, Payload> = {
method: 'post',
json: {
email,
full_name: name,
display_name: name,
external_ref: email,
org_id: revOrgId
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as types from '../utils/types'

interface revUserCreateBody {
email: string
full_name: string
display_name: string
org_id: string
}

Expand Down Expand Up @@ -124,7 +124,7 @@ export const revUsersCreateResponse = async (_: never, body: revUserCreateBody)
rev_user: {
id: testRevUserNewer.id,
created_date: newerCreateDate,
display_name: body.full_name,
display_name: body.display_name,
email: body.email,
rev_org: {
id: body.org_id,
Expand Down

0 comments on commit 6fc66be

Please sign in to comment.