mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-08 04:57:31 +00:00
discord: Add omitempty tag for category id (#357)
This commit is contained in:
parent
769215970e
commit
12a84ee999
|
@ -116,7 +116,7 @@ type (
|
||||||
// if moving to a new category.
|
// if moving to a new category.
|
||||||
LockPermissions option.Bool `json:"lock_permissions"`
|
LockPermissions option.Bool `json:"lock_permissions"`
|
||||||
// CategoryID is the new parent ID for the channel that is moved.
|
// CategoryID is the new parent ID for the channel that is moved.
|
||||||
CategoryID discord.ChannelID `json:"parent_id"`
|
CategoryID discord.ChannelID `json:"parent_id,string,omitempty"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue