We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6de8f commit 47c29c5Copy full SHA for 47c29c5
internal/config/credentials.go
@@ -50,8 +50,8 @@ func SetEmptyCredentials(settings *viper.Viper) {
50
51
// Credentials contains the parameters of Arduino IoT Cloud credentials.
52
type Credentials struct {
53
- Client string `map-structure:"client"` // Client ID of the user
54
- Secret string `map-structure:"secret"` // Secret ID of the user, unique for each Client ID
+ Client string `mapstructure:"client"` // Client ID of the user
+ Secret string `mapstructure:"secret"` // Secret ID of the user, unique for each Client ID
55
}
56
57
// Validate the credentials.
0 commit comments