Skip to content

Commit

Permalink
fix: refresh interval time
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Dec 3, 2024
1 parent d8e503b commit b60183d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstagramFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require_once "Config.php";

class InstagramFeed extends Config {
protected const TOKEN_REFRESH_INTERVAL = 1; // 24 hours in seconds
protected const TOKEN_REFRESH_INTERVAL = 86400; // 24 hours in seconds

protected function fetch($path) {
return json_decode(file_get_contents($path), true);
Expand Down

0 comments on commit b60183d

Please # to comment.