try { let body = JSON.parse($response.body); // Lấy timestamp hiện tại theo giờ hệ thống (UTC, tính theo giây) const now = Math.floor(Date.now() / 1000); if (body?.timestamp) { body.timestamp = now; } $done({ body: JSON.stringify(body) }); } catch (e) { $done({}); }