Skip to content

Commit 07b7fdb

Browse files
Removing omitempty for send_after field (#137)
* Removed omitempty from the TimeAmount variable
1 parent fd5d61c commit 07b7fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

og/entity.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const (
346346
)
347347

348348
type SendAfter struct {
349-
TimeAmount uint32 `json:"timeAmount,omitempty"`
349+
TimeAmount uint32 `json:"timeAmount"`
350350
TimeUnit string `json:"timeUnit,omitempty"`
351351
}
352352

0 commit comments

Comments
 (0)