2
0
mirror of https://github.com/lowdefy/lowdefy.git synced 2025-04-24 16:00:53 +08:00

fix: Add timestamp to offline license check.

This commit is contained in:
Sam Tolmay 2023-11-08 15:54:45 +02:00
parent 3821bfdd7c
commit 466c5acd15
No known key found for this signature in database

@ -50,6 +50,7 @@ async function keygenValidateLicenseOffline({ config, licenseKey }) {
code: expiry.valueOf() < Date.now() ? 'EXPIRED' : 'VALID',
entitlements: decoded.entitlements,
expiry: expiry,
timestamp: new Date(),
};
}