def get(self, decoded_payload):
     email = decoded_payload.get('email')
     response, code = HODService.get_me(email=email)
     return response, code
Пример #2
0
 def get(self, decoded_payload):
     ''' Get details of logged in HOD '''
     email = decoded_payload.get('email')
     response, code = HODService.get_me(email=email)
     return response, code