Specify the client in the GET ott request

This commit is contained in:
Vishnu Mohandas 2020-11-30 11:05:32 +05:30
parent cfbb32702c
commit 0c6acba5db

View file

@ -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) => {