commit 0c66938eb950105a6fa105bcfecfb7d4493f909d
parent ae62086e3246cc7832b17095e4b7affd0cc84e3c
Author: LennartSchroot <[email protected]>
Date: Mon, 3 Jul 2023 14:45:11 +0200
cooldowns
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apii/api.php b/apii/api.php
@@ -43,13 +43,13 @@ function api(string $token, string $since, $type):string{
return '';
}
if ($type == "windchill") {
- if (check_request($token, 0)) {
+ if (check_request($token, 15)) {
return json_windchill($result);
} else {
return '';
}
}elseif ($type == "graph") {
- if (check_request($token, 0)) {
+ if (check_request($token, 1440)) {
return json_graph($result);
} else {
return '';