diff options
Diffstat (limited to 'internal/logging')
| -rw-r--r-- | internal/logging/logging.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
