Skip to content

Commit

Permalink
キャンセルの時の文言を修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
yocchan-git committed Mar 5, 2024
1 parent f7fbe8c commit 057f900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/discord_authentications_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class DiscordAuthenticationsController < ApplicationController
def new
return redirect_to root_path, alert: 'キャンセルしました' unless params[:code]
return redirect_to root_path, alert: 'Discord連携をキャンセルしました' unless params[:code]

redirect_uri = discord_authentications_new_url
access_token = DiscordAuthentication.fetch_access_token(params[:code], redirect_uri)
Expand Down

0 comments on commit 057f900

Please sign in to comment.