about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-20 19:20:40 +0100
committerGitHub <noreply@github.com>2020-01-20 19:20:40 +0100
commita8c109baca4d02cc8aed454e231518c1f8ec1844 (patch)
treea828f3968b151924656061bfc709b00565aff877 /app/controllers/api
parentddcf78d8d3e2a8cb9aa04f8ff42f9d8e185b0354 (diff)
parentdc2ab6e646bb721ef2e1be268b876bd00e8fa802 (diff)
Merge pull request #1264 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/oembed_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/api/oembed_controller.rb b/app/controllers/api/oembed_controller.rb
index 37a163cd3..c8c60b1cf 100644
--- a/app/controllers/api/oembed_controller.rb
+++ b/app/controllers/api/oembed_controller.rb
@@ -3,6 +3,8 @@
 class Api::OEmbedController < Api::BaseController
   respond_to :json
 
+  skip_before_action :require_authenticated_user!
+
   def show
     @status = status_finder.status
     render json: @status, serializer: OEmbedSerializer, width: maxwidth_or_default, height: maxheight_or_default