fixed variable usage

This commit is contained in:
antelle 2021-07-13 19:05:25 +02:00
parent 062ddb3f72
commit f0bb382449
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 3 additions and 3 deletions

View File

@ -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';