Commit 8d445fe6 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Improve JwtController

parent f4f9184a
...@@ -9,7 +9,7 @@ class JwtController < ApplicationController ...@@ -9,7 +9,7 @@ class JwtController < ApplicationController
def auth def auth
service = SERVICES[params[:service]] service = SERVICES[params[:service]]
head :not_found unless service return head :not_found unless service
result = service.new(@project, @user, auth_params).execute result = service.new(@project, @user, auth_params).execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment