Skip to content

Commit e8ebf02

Browse files
authored
Merge pull request #16 from aburakovskiy/lumen-support
fix: rid of Carbon dependency
2 parents 5c3c004 + e436518 commit e8ebf02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelAwsSecretsManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function updateConfigs()
126126
protected function storeToCache($name, $val)
127127
{
128128
if ($this->cache) {
129-
Cache::store($this->cacheStore)->put($name, $val, now()->addMinutes($this->cacheExpiry));
129+
Cache::store($this->cacheStore)->put($name, $val, $this->cacheExpiry * 60);
130130
}
131131
}
132132
}

0 commit comments

Comments
 (0)