소스 검색

Specify the client in the GET ott request

Vishnu Mohandas 4 년 전
부모
커밋
0c6acba5db
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/services/userService.ts

+ 1 - 1
src/services/userService.ts

@@ -5,7 +5,7 @@ import { getEndpoint } from 'utils/common/apiUtil';
 const ENDPOINT = getEndpoint();
 
 export const getOtt = (email: string) => {
-    return HTTPService.get(`${ENDPOINT}/users/ott`, { email })
+    return HTTPService.get(`${ENDPOINT}/users/ott`, { 'email': email, 'client': 'web' })
 }
 
 export const verifyOtt = (email: string, ott: string) => {