mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Correct longstanding issues with the EVEAccount object regarding its primary key
This commit is contained in:
@@ -126,7 +126,7 @@ class OpTimerHandler(BaseHandler):
|
||||
allowed_methods = ('GET')
|
||||
|
||||
def read(self, request, id=None):
|
||||
obj = get_object_or_404(EVEAccount, id=FULL_API_USER_ID)
|
||||
obj = get_object_or_404(EVEAccount, pk=FULL_API_USER_ID)
|
||||
|
||||
params = {'userID': obj.id, 'apiKey': obj.api_key, 'characterID': FULL_API_CHARACTER_ID}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user