Skip to content

Commit

Permalink
_id is the default values for mongodb memory
Browse files Browse the repository at this point in the history
  • Loading branch information
EderSantana committed Oct 13, 2015
1 parent 6f64e36 commit f80dde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agnez/app_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, name, position,
r = requests.post(app_url, json={
'name': name, 'type': '', 'value': '',
'pos': ''})
self.app_url += '/' + str(json.loads(r.text)['id'])
self.app_url += '/' + str(json.loads(r.text)['_id'])


class SendImgur(Sender):
Expand Down

0 comments on commit f80dde6

Please sign in to comment.