From 29ca6ea25eacc07b2c12fc4038f75023c9e118e2 Mon Sep 17 00:00:00 2001 From: Dave Kimura Date: Wed, 31 Jan 2024 16:39:51 -0500 Subject: [PATCH] Added TURBO_STREAM response to OPTIONS --- Gemfile.lock | 2 +- app/controllers/action_auth/webauthn_credentials_controller.rb | 1 + lib/action_auth/version.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 86bd329..7c7b805 100755 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - action_auth (0.2.12) + action_auth (0.2.13) bcrypt (~> 3.1.0) rails (~> 7.1) diff --git a/app/controllers/action_auth/webauthn_credentials_controller.rb b/app/controllers/action_auth/webauthn_credentials_controller.rb index 12c22c2..88a53b9 100644 --- a/app/controllers/action_auth/webauthn_credentials_controller.rb +++ b/app/controllers/action_auth/webauthn_credentials_controller.rb @@ -22,6 +22,7 @@ def options respond_to do |format| format.json { render json: create_options } + format.turbo_stream { render json: create_options } end end diff --git a/lib/action_auth/version.rb b/lib/action_auth/version.rb index a1c83c4..616c980 100755 --- a/lib/action_auth/version.rb +++ b/lib/action_auth/version.rb @@ -1,3 +1,3 @@ module ActionAuth - VERSION = "0.2.12" + VERSION = "0.2.13" end