mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Some small fixes for the OpTimer API call
This commit is contained in:
@@ -120,7 +120,7 @@ class OpTimerHandler(BaseHandler):
|
|||||||
allowed_methods = ('GET')
|
allowed_methods = ('GET')
|
||||||
|
|
||||||
def read(self, request, id=None):
|
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}
|
params = {'userID':obj.id,'apiKey':obj.api_key,'characterID':FULL_API_CHARACTER_ID}
|
||||||
|
|
||||||
|
|||||||
@@ -123,8 +123,8 @@ REDDIT_PASSWD = ''
|
|||||||
|
|
||||||
HR_STAFF_GROUP = 'HR Staff'
|
HR_STAFF_GROUP = 'HR Staff'
|
||||||
|
|
||||||
FULL_API_USER_ID = 1
|
FULL_API_USER_ID = 415631
|
||||||
FULL_API_CHARACTER_ID = 217608501
|
FULL_API_CHARACTER_ID = 246102445
|
||||||
|
|
||||||
# try and import local settings
|
# try and import local settings
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user