data->request

This commit is contained in:
j 2014-05-20 02:33:06 +02:00
parent 326a8f75c6
commit cfa8b2686b

View file

@ -252,7 +252,7 @@ def editUser(data):
actions.register(editUser, cache=False)
def dataPeering(data):
def requestPeering(data):
'''
takes {
id
@ -268,9 +268,9 @@ def dataPeering(data):
u.info['message'] = data.get('message', '')
u.save()
state.nodes.queue('add', u.id)
state.nodes.queue(u.id, 'peering', 'dataPeering')
state.nodes.queue(u.id, 'peering', 'requestPeering')
return {}
actions.register(dataPeering, cache=False)
actions.register(requestPeering, cache=False)
def acceptPeering(data):