2018-07-22 02:00:13 +08:00
|
|
|
import flask_restful
|
2018-03-04 21:22:34 +08:00
|
|
|
|
2018-07-22 02:00:13 +08:00
|
|
|
from cc.auth import jwt_required
|
|
|
|
from cc.services.pth_report import PTHReportService
|
2018-03-07 15:56:32 +08:00
|
|
|
|
2018-07-22 02:00:13 +08:00
|
|
|
__author__ = "itay.mizeretz"
|
2018-03-04 21:22:34 +08:00
|
|
|
|
2018-04-30 23:40:11 +08:00
|
|
|
|
2018-07-24 19:52:16 +08:00
|
|
|
class PTHReport(flask_restful.Resource):
|
2018-05-15 16:10:32 +08:00
|
|
|
|
2018-07-22 02:00:13 +08:00
|
|
|
@jwt_required()
|
|
|
|
def get(self):
|
|
|
|
return PTHReportService.get_report()
|