Skip to content

Commit

Permalink
Fix typo in Metric
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Dec 27, 2023
1 parent 1b8eb0c commit ff9a924
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 ff9a924

Please sign in to comment.