From 0c21ca531856c2f73da0b27ce215dab8385a9ef5 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Tue, 13 May 2025 06:51:28 -0500 Subject: chore: cleanup --- internal/logging/logging.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/logging') diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 54f33989f..df9eaa923 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -95,11 +95,11 @@ func (s *service) Create(ctx context.Context, log Log) error { err := s.db.CreateLog(ctx, db.CreateLogParams{ ID: log.ID, SessionID: sql.NullString{String: log.SessionID, Valid: log.SessionID != ""}, - Timestamp: log.Timestamp / 1000, + Timestamp: log.Timestamp, Level: log.Level, Message: log.Message, Attributes: attributesJSON, - CreatedAt: log.CreatedAt / 1000, + CreatedAt: log.CreatedAt, }) if err != nil { return fmt.Errorf("db.CreateLog: %w", err) -- cgit v1.2.3