def get(self, decoded_payload):
     email = decoded_payload.get('email')
     response, code = HODService.get_lecturers(email=email)
     return response, code
Exemplo n.º 2
0
 def get(self, decoded_payload):
     ''' Get all lecturers in HOD's department '''
     email = decoded_payload.get('email')
     response, code = HODService.get_lecturers(email=email)
     return response, code