diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/privacy/privacyConfig.go | 6 | ||||
-rw-r--r-- | config/privacy/privacyConfig_test.go | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index ee7b7be2c..bcffec8af 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -31,7 +31,7 @@ type Config struct { GoogleAnalytics GoogleAnalytics Instagram Instagram SpeakerDeck SpeakerDeck - Tweet Tweet + Twitter Twitter Vimeo Vimeo YouTube YouTube } @@ -64,8 +64,8 @@ type SpeakerDeck struct { Service `mapstructure:",squash"` } -// Tweet holds the privacy configuration settingsrelated to the Tweet shortcode. -type Tweet struct { +// Twitter holds the privacy configuration settingsrelated to the Twitter shortcode. +type Twitter struct { Service `mapstructure:",squash"` } diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go index f945ac8c2..0efc734db 100644 --- a/config/privacy/privacyConfig_test.go +++ b/config/privacy/privacyConfig_test.go @@ -39,7 +39,7 @@ disable = true simple = true [privacy.speakerDeck] disable = true -[privacy.tweet] +[privacy.twitter] disable = true [privacy.vimeo] disable = true @@ -61,7 +61,7 @@ simple = true assert.True(pc.Instagram.Disable) assert.True(pc.Instagram.Simple) assert.True(pc.SpeakerDeck.Disable) - assert.True(pc.Tweet.Disable) + assert.True(pc.Twitter.Disable) assert.True(pc.Vimeo.Disable) assert.True(pc.YouTube.PrivacyEnhanced) |