fix-messages: IDE0016
This commit is contained in:
parent
9e83a391e4
commit
3b0a86a536
@ -95,9 +95,7 @@ namespace ASC.Files.Thirdparty.GoogleDrive
|
||||
{
|
||||
if (IsOpened)
|
||||
return;
|
||||
|
||||
if (token == null) throw new UnauthorizedAccessException("Cannot create GoogleDrive session with given token");
|
||||
_token = token;
|
||||
_token = token ?? throw new UnauthorizedAccessException("Cannot create GoogleDrive session with given token");
|
||||
|
||||
var tokenResponse = new TokenResponse
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user