monkey/monkey_island/cc/resources/report.py

14 lines
252 B
Python
Raw Normal View History

2017-10-16 01:06:26 +08:00
import flask_restful
2018-02-22 22:21:03 +08:00
from cc.auth import jwt_required
2017-10-16 01:06:26 +08:00
from cc.services.report import ReportService
__author__ = "itay.mizeretz"
class Report(flask_restful.Resource):
2018-02-22 22:21:03 +08:00
@jwt_required()
2017-10-16 01:06:26 +08:00
def get(self):
return ReportService.get_report()