SubscriptionsService
This commit is contained in:
@@ -208,7 +208,7 @@ def subscription_products():
|
|||||||
def subscription_sessuib_start():
|
def subscription_sessuib_start():
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
# logger.info(f"Route Subscription Session Start ==>>>> {data}")
|
# logger.info(f"Route Subscription Session Start ==>>>> {data}")
|
||||||
response = SubscriptionService.subscription_session_start(data)
|
response = SubscriptionsService.subscription_session_start(data)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
@@ -337,7 +337,7 @@ def get_subcriptions_list_office():
|
|||||||
'limit': request.args.get('limit', 20)
|
'limit': request.args.get('limit', 20)
|
||||||
}
|
}
|
||||||
|
|
||||||
response = SubscriptionService.get_subscription_data(filters)
|
response = SubscriptionsService.get_subscription_data(filters)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@api.route('/office/transaction', methods=['GET'])
|
@api.route('/office/transaction', methods=['GET'])
|
||||||
@@ -379,6 +379,7 @@ def health_check():
|
|||||||
return {"status": "ok"}, 200
|
return {"status": "ok"}, 200
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Authorize endpoint
|
# Authorize endpoint
|
||||||
@api.route("/Authorize", methods=["POST"])
|
@api.route("/Authorize", methods=["POST"])
|
||||||
def authorize():
|
def authorize():
|
||||||
|
|||||||
Reference in New Issue
Block a user