Explorar o código

attach display name

sunguroku %!s(int64=4) %!d(string=hai) anos
pai
achega
d9fdc71366
Modificáronse 1 ficheiros con 1 adicións e 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(
           Cohere.identify(
             res?.data?.id, 
             res?.data?.id, 
             {
             {
-              username: res?.data?.email,
+              displayName: res?.data?.email,
               email: res?.data?.email, 
               email: res?.data?.email, 
             }
             }
           );
           );