Explorar o código

Specify the client in the GET ott request

Vishnu Mohandas %!s(int64=4) %!d(string=hai) anos
pai
achega
0c6acba5db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) => {