fix: Make CreatedAt field a pointer in Message struct
This commit is contained in:
parent
25db8e8bf7
commit
119d3b6d0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user