Merge pull request #407 from tdtds/fix/api

fix api does not work
This commit is contained in:
Ken Johnson
2022-08-16 18:41:28 -04:00
committed by GitHub
@@ -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