Skip to content

Commit 2780bc7

Browse files
committed
CABPI-370: [BUG] API request brings an exception if IMS is enabled (branch cabpi-346)
1 parent e82372f commit 2780bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/AdminAdobeIms/Model/Authorization/AdobeImsTokenUserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private function getExpiresTime(int $createdAt, int $expiresIn): string
229229
{
230230
return $this->dateTime->gmtDate(
231231
self::DATE_FORMAT,
232-
($createdAt + $expiresIn) / 1000
232+
round(($createdAt + $expiresIn) / 1000)
233233
);
234234
}
235235
}

0 commit comments

Comments
 (0)