Skip to content

Commit ba8c987

Browse files
committed
...
1 parent 2394b9d commit ba8c987

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/v1/users/sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def create
1111
def destroy
1212
# fetch access token from request header
1313
api_token = request.headers["Authorization"]&.split(" ")&.last
14-
# find user's api credentials by access token
14+
# find user's api credentials by access token
1515
api_credential = ApiCredential.find_by(api_token_digest: Digest::SHA256.hexdigest(api_token))
1616
# set api and refresh tokens to nil; otherwise render 401 0000
1717
if api_credential

0 commit comments

Comments
 (0)