Skip to content

Commit

Permalink
Merge pull request #181 from conedevelopment/szepeviktor-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo authored Dec 27, 2023
2 parents 1b8eb0c + ff9a924 commit 82677c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/Metric.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function resolveQuery(Request $request): Builder
*/
public function getCurrentRange(Request $request): string
{
$default = $this->getDetaultRange();
$default = $this->getDefaultRange();

$range = $request->input('range', $default);

Expand All @@ -84,7 +84,7 @@ public function getCurrentRange(Request $request): string
/**
* Get the default range.
*/
public function getDetaultRange(): string
public function getDefaultRange(): string
{
return 'MONTH';
}
Expand Down

0 comments on commit 82677c4

Please sign in to comment.