Ver código fonte

Specify the client in the GET ott request

Vishnu Mohandas 4 anos atrás
pai
commit
0c6acba5db
1 arquivos alterados com 1 adições e 1 exclusões
  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();
 const ENDPOINT = getEndpoint();
 
 
 export const getOtt = (email: string) => {
 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) => {
 export const verifyOtt = (email: string, ott: string) => {