Explorar el Código

Merge pull request #1324 from porter-dev/master

attach display name
sunguroku hace 4 años
padre
commit
b1ee3e5ad0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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, 
             }
           );