feat: update getClientAccessToken to require only clientId in validation

master
adriano 2025-06-30 14:24:00 -03:00
parent 671d5e3fb7
commit 65ec67d12e
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ const getClientAccessToken = async (req, res) => {
const { clientId } = req.body;
console.log('========> getClientAccessToken companyId: ', companyId, ' clientId: ', clientId);
mustContainProperties(req, ['companyId', 'clientId']);
mustContainProperties(req, ['clientId']);
const accessToken = await getAccessToken(companyId, clientId);