monkey/monkey_island/cc/resources/pthreport.py

14 lines
262 B
Python
Raw Normal View History

import flask_restful
2018-03-04 21:22:34 +08:00
from cc.auth import jwt_required
from cc.services.pth_report import PTHReportService
2018-03-07 15:56:32 +08:00
__author__ = "itay.mizeretz"
2018-03-04 21:22:34 +08:00
class Report(flask_restful.Resource):
@jwt_required()
def get(self):
return PTHReportService.get_report()