Преглед изворни кода

Merge pull request #1325 from porter-dev/staging

add display name (cohere)
sunguroku пре 4 година
родитељ
комит
6050d956a0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dashboard/src/main/Main.tsx

+ 1 - 1
dashboard/src/main/Main.tsx

@@ -48,7 +48,7 @@ export default class Main extends Component<PropsType, StateType> {
           Cohere.identify(
             res?.data?.id, 
             {
-              username: res?.data?.email,
+              displayName: res?.data?.email,
               email: res?.data?.email, 
             }
           );