Skip to content

Commit

Permalink
feat(ApplicationIntegrationTypeConfig): add omitempty tag to OAuth2In…
Browse files Browse the repository at this point in the history
…stallParams
  • Loading branch information
FedorLap2006 committed Jun 20, 2024
1 parent b6ba130 commit 75a9085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ type ApplicationInstallParams struct {

// ApplicationIntegrationTypeConfig represents application's configuration for a particular integration type.
type ApplicationIntegrationTypeConfig struct {
OAuth2InstallParams ApplicationInstallParams `json:"oauth2_install_params"`
OAuth2InstallParams *ApplicationInstallParams `json:"oauth2_install_params,omitempty"`
}

// Application stores values for a Discord Application
Expand Down

0 comments on commit 75a9085

Please sign in to comment.