Show More
@@ -85,6 +85,8 b' class AuthTokenModel(BaseModel):' | |||
|
85 | 85 | user_auth_tokens = user_auth_tokens\ |
|
86 | 86 | .filter(or_(UserApiKeys.expires == -1, |
|
87 | 87 | UserApiKeys.expires >= time.time())) |
|
88 | user_auth_tokens = user_auth_tokens.order_by( | |
|
89 | UserApiKeys.user_api_key_id) | |
|
88 | 90 | return user_auth_tokens |
|
89 | 91 | |
|
90 | 92 | def get_auth_token(self, auth_token): |
General Comments 0
You need to be logged in to leave comments.
Login now