feat: update getClientAccessToken to require only clientId in validation
parent
671d5e3fb7
commit
65ec67d12e
|
@ -598,7 +598,7 @@ const getClientAccessToken = async (req, res) => {
|
||||||
const { clientId } = req.body;
|
const { clientId } = req.body;
|
||||||
console.log('========> getClientAccessToken companyId: ', companyId, ' clientId: ', clientId);
|
console.log('========> getClientAccessToken companyId: ', companyId, ' clientId: ', clientId);
|
||||||
|
|
||||||
mustContainProperties(req, ['companyId', 'clientId']);
|
mustContainProperties(req, ['clientId']);
|
||||||
|
|
||||||
const accessToken = await getAccessToken(companyId, clientId);
|
const accessToken = await getAccessToken(companyId, clientId);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue