chore(oauth2): fix type

This commit is contained in:
Sarah Vaupel 2024-03-21 00:27:43 +01:00
parent b1cb45ac7e
commit 0599ec2512

View File

@ -368,7 +368,7 @@ makeFoundation appSettings''@AppSettings{..} = do
-> error "Tenant ID missing!" -> error "Tenant ID missing!"
oauth2Plugins oauth2Plugins
| UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) <- appUserAuthConf | UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) <- appUserAuthConf
= singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret = singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) (tshow azureConfClientId) azureConfClientSecret
| otherwise | otherwise
= mempty = mempty
#endif #endif