Skip to content

Commit

Permalink
set correct order of params for commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed May 12, 2024
1 parent 3ee5d29 commit 8d3067d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Console/Commands/MsGraphAdminKeepAliveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MsGraphAdminKeepAliveCommand extends Command
public function handle(): void
{
if (MsGraphAdmin::isConnected()) {
MsGraphAdmin::getAccessToken($redirectWhenNotConnected = false);
MsGraphAdmin::getAccessToken($returnNullNoAccessToken = true);
$this->comment('connected');
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/MsGraphKeepAliveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MsGraphKeepAliveCommand extends Command
public function handle(): void
{
if (MsGraph::isConnected()) {
MsGraph::getAccessToken($redirectWhenNotConnected = false);
MsGraph::getAccessToken(null, $redirectWhenNotConnected = false);
$this->comment('connected');
}
}
Expand Down

0 comments on commit 8d3067d

Please sign in to comment.