Przeglądaj źródła

attach display name

sunguroku 4 lat temu
rodzic
commit
d9fdc71366
1 zmienionych plików z 1 dodań i 1 usunięć
  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(
           Cohere.identify(
             res?.data?.id, 
             res?.data?.id, 
             {
             {
-              username: res?.data?.email,
+              displayName: res?.data?.email,
               email: res?.data?.email, 
               email: res?.data?.email, 
             }
             }
           );
           );