Browse Source

Specify the client in the GET ott request

Vishnu Mohandas 4 năm trước cách đây
mục cha
commit
0c6acba5db
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) => {