fix payment api

This commit is contained in:
NyanLinHtut
2022-05-10 15:13:14 +06:30
parent ab526ac4a1
commit 0231c7e60f
3 changed files with 25 additions and 25 deletions

View File

@@ -38,7 +38,7 @@ class Api::ApiController < ActionController::API
end
def current_login_employee
@employee = Employee.find_by_token_session(current_token)
@employee ||= Employee.find_by_token_session(current_token)
end
# def lookup_domain