1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-01-07 12:38:05 +00:00

Gateway: Fixed more omitempties for UpdateStatus

This commit is contained in:
diamondburned (Forefront) 2020-03-30 22:50:46 -07:00
parent 38eabeb1e9
commit 74f7f5877d

View file

@ -105,11 +105,11 @@ const (
type Activity struct {
Name string `json:"name"`
Type ActivityType `json:"type"`
URL URL `json:"url"`
URL URL `json:"url,omitempty"`
// User only
CreatedAt UnixTimestamp `json:"created_at"`
CreatedAt UnixTimestamp `json:"created_at,omitempty"`
Timestamps *ActivityTimestamp `json:"timestamps,omitempty"`
ApplicationID Snowflake `json:"application_id,omitempty"`