Add use name and client URI to session response
I probably need to change the URI to the session URI
This commit is contained in:
parent
d83312234b
commit
beb3ad89c5
|
@ -13,8 +13,10 @@ import vanth.user
|
|||
class Session(sepiida.endpoints.APIEndpoint):
|
||||
ENDPOINT = '/session/'
|
||||
SIGNATURE = sepiida.fields.JSONObject(s={
|
||||
'name' : sepiida.fields.String(methods=['GET']),
|
||||
'username' : sepiida.fields.String(),
|
||||
'password' : sepiida.fields.String(methods=['POST']),
|
||||
'uri' : sepiida.fields.URI('session', methods=['GET'])
|
||||
})
|
||||
@staticmethod
|
||||
def post(payload):
|
||||
|
|
Loading…
Reference in New Issue