UPDATE: Historian module
All checks were successful
Build and Release / release (push) Successful in 1m20s
All checks were successful
Build and Release / release (push) Successful in 1m20s
This commit is contained in:
@@ -45,7 +45,7 @@ func TimeToPtr(v pgtype.Timestamptz) *time.Time {
|
||||
}
|
||||
|
||||
func PtrToText(s *string) pgtype.Text {
|
||||
if s == nil {
|
||||
if s == nil || *s == "" {
|
||||
return pgtype.Text{Valid: false}
|
||||
}
|
||||
return pgtype.Text{
|
||||
|
||||
Reference in New Issue
Block a user