Skip to content

Commit

Permalink
Merge branch 'master' into feat-remove-multiple-monitors-at-once
Browse files Browse the repository at this point in the history
  • Loading branch information
homelab-alpha authored Jan 22, 2025
2 parents d33def8 + 03beef8 commit 0ed0285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/apicache/apicache.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ function ApiCache() {
}

if (typeof duration === "string") {
let split = duration.match(/^([\d\.,]+)\s?(\w+)$/);
let split = duration.match(/^([\d\.,]+)\s?([a-zA-Z]+)$/);

if (split.length === 3) {
let len = parseFloat(split[1]);
Expand Down

0 comments on commit 0ed0285

Please sign in to comment.