forked from Yara724/api
fix(inquiries): route all tenants through ESG and Fanavaran
This commit is contained in:
@@ -218,6 +218,9 @@ export function resolveFanavaranClientKey(): FanavaranClientKey {
|
||||
}
|
||||
|
||||
// Optional deployment hint when FANAVARAN_CLIENT is not set.
|
||||
if (String(process.env.CLIENT_ID ?? '').trim() === '7') {
|
||||
return 'moallem';
|
||||
}
|
||||
if (String(process.env.CLIENT_ID ?? '') === '8') {
|
||||
return 'parsian';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user