Skip to content

Commit

Permalink
fix(interface): remove pointer
Browse files Browse the repository at this point in the history
Interfaces are nilable by default.
  • Loading branch information
Hiroyuki committed Jul 11, 2021
1 parent 89e435a commit 3b6333a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type AuditLogChangeKey struct {
Nick *string `json:"nick"`
AvatarHash *string `json:"avatar_hash"`
ID *Snowflake `json:"id"`
Type *interface{} `json:"type"`
Type interface{} `json:"type"`
EnableEmoticons *bool `json:"enable_emoticons"`
ExpireBehavior *int `json:"expire_behavior"`
ExpireGracePeriod *int `json:"expire_grace_period"`
Expand Down

0 comments on commit 3b6333a

Please sign in to comment.