fix: dynamic 모드GetConst에서 바뀐게 없을때 버그
This commit is contained in:
@@ -109,7 +109,7 @@ class GetConst extends \sammo\BaseAPI
|
||||
public function tryCache(): ?APICacheResult
|
||||
{
|
||||
if (is_subclass_of('\\sammo\\VersionGit', '\\sammo\VersionGitDynamic')) {
|
||||
return new APICacheResult(TimeUtil::secondsToDateTime($this->findLastModified(), true, true));
|
||||
return new APICacheResult(TimeUtil::secondsToDateTime($this->findLastModified()??\time(), true, true));
|
||||
}
|
||||
|
||||
return new APICacheResult(null, $this->getCacheKey());
|
||||
|
||||
Reference in New Issue
Block a user