fixed variable usage

release-1.18
antelle 2 years ago
parent 062ddb3f72
commit f0bb382449
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -336,11 +336,11 @@ class StorageTeams extends StorageBase {
if (!clientId) {
if (Features.isDesktop) {
({ id: clientId, secret: clientSecret, tenantId: tenant } = TeamsApps.Desktop);
({ id: clientId, secret: clientSecret, tenantId: tenant } = MsTeamsApps.Desktop);
} else if (Features.isLocal) {
({ id: clientId, secret: clientSecret, tenantId: tenant } = TeamsApps.Local);
({ id: clientId, secret: clientSecret, tenantId: tenant } = MsTeamsApps.Local);
} else {
({ id: clientId, secret: clientSecret, tenantId: tenant } = TeamsApps.Production);
({ id: clientId, secret: clientSecret, tenantId: tenant } = MsTeamsApps.Production);
}
}
tenant = tenant || 'common';

Loading…
Cancel
Save