diff --git a/doc/user/profile/notifications.md b/doc/user/profile/notifications.md index 1d92f15552d..a67716ab0d0 100644 --- a/doc/user/profile/notifications.md +++ b/doc/user/profile/notifications.md @@ -83,6 +83,9 @@ Or: 1. Click the notification dropdown, marked with a bell icon. 1. Select the desired [notification level](#notification-levels). + +For a demonstration of how to be notified when a new release is available, see [Notification for releases](https://www.youtube.com/watch?v=qyeNkGgqmH4). + #### Group notifications You can select a notification level and email address for each group. diff --git a/lib/api/terraform/state.rb b/lib/api/terraform/state.rb index 052c75188ab..5141d1fd499 100644 --- a/lib/api/terraform/state.rb +++ b/lib/api/terraform/state.rb @@ -46,7 +46,7 @@ module API desc 'Add a new terraform state or update an existing one' route_setting :authentication, basic_auth_personal_access_token: true post do - data = request.body.string + data = request.body.read no_content! if data.empty? remote_state_handler.handle_with_lock do |state|