Some small fixes for the OpTimer API call

This commit is contained in:
2010-06-30 15:13:55 +01:00
parent c41c225a29
commit acb1cb9aa8
2 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ class OpTimerHandler(BaseHandler):
allowed_methods = ('GET')
def read(self, request, id=None):
obj = get_object_or_404(EVEAccount, user=FULL_API_USER_ID)
obj = get_object_or_404(EVEAccount, id=FULL_API_USER_ID)
params = {'userID':obj.id,'apiKey':obj.api_key,'characterID':FULL_API_CHARACTER_ID}

View File

@@ -123,8 +123,8 @@ REDDIT_PASSWD = ''
HR_STAFF_GROUP = 'HR Staff'
FULL_API_USER_ID = 1
FULL_API_CHARACTER_ID = 217608501
FULL_API_USER_ID = 415631
FULL_API_CHARACTER_ID = 246102445
# try and import local settings
try: