fix api does not work

This commit is contained in:
Tada, Tadashi
2021-04-30 17:39:10 +09:00
parent 87846e6cda
commit ad708f5546
@@ -21,6 +21,8 @@ class Api::V1::UsersController < ApplicationController
# TODO :add some functionality to check if the HTTP Header is valid
if !identify_user(token)
redirect_to root_url
else
true
end
end
end