fix: swap parameters in getAccessToken call to match expected order
parent
65ec67d12e
commit
26704767ba
|
@ -600,7 +600,7 @@ const getClientAccessToken = async (req, res) => {
|
|||
|
||||
mustContainProperties(req, ['clientId']);
|
||||
|
||||
const accessToken = await getAccessToken(companyId, clientId);
|
||||
const accessToken = await getAccessToken(clientId, companyId);
|
||||
|
||||
if (!accessToken) {
|
||||
console.error(`Access token not found for companyId: ${companyId} and clientId: ${clientId}`);
|
||||
|
|
Loading…
Reference in New Issue