Skip to content

Commit 8d3067d

Browse files
committed
set correct order of params for commands
1 parent 3ee5d29 commit 8d3067d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Console/Commands/MsGraphAdminKeepAliveCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MsGraphAdminKeepAliveCommand extends Command
1414
public function handle(): void
1515
{
1616
if (MsGraphAdmin::isConnected()) {
17-
MsGraphAdmin::getAccessToken($redirectWhenNotConnected = false);
17+
MsGraphAdmin::getAccessToken($returnNullNoAccessToken = true);
1818
$this->comment('connected');
1919
}
2020
}

src/Console/Commands/MsGraphKeepAliveCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MsGraphKeepAliveCommand extends Command
1414
public function handle(): void
1515
{
1616
if (MsGraph::isConnected()) {
17-
MsGraph::getAccessToken($redirectWhenNotConnected = false);
17+
MsGraph::getAccessToken(null, $redirectWhenNotConnected = false);
1818
$this->comment('connected');
1919
}
2020
}

0 commit comments

Comments
 (0)