fix: Make CreatedAt field a pointer in Message struct

This commit is contained in:
SoXX 2024-08-26 10:57:05 +02:00
parent 25db8e8bf7
commit 119d3b6d0d

View File

@ -17,7 +17,7 @@ import (
type Message struct {
Title string
Body string
CreatedAt timestamppb.Timestamp
CreatedAt *timestamppb.Timestamp
}
type TaskExecution func(ctx context.Context, userSource models.UserSource, deepScrape bool, apiKey string, cancelFunction func()) error