fix routes
This commit is contained in:
@@ -392,7 +392,7 @@ def get_customer_office():
|
|||||||
|
|
||||||
@api.route('/office/subcriptions', methods=['GET'])
|
@api.route('/office/subcriptions', methods=['GET'])
|
||||||
# @token_required
|
# @token_required
|
||||||
def get_subcriptions_list_office():
|
def get_subscriptions_list_office():
|
||||||
# Call the dashboard service
|
# Call the dashboard service
|
||||||
filters = {
|
filters = {
|
||||||
'product_id': request.args.get('product_id'),
|
'product_id': request.args.get('product_id'),
|
||||||
@@ -404,7 +404,7 @@ def get_subcriptions_list_office():
|
|||||||
response = SubscriptionsService.get_subscription_data(filters)
|
response = SubscriptionsService.get_subscription_data(filters)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@api.route('/office/subcription-view', methods=['GET'])
|
@api.route('/office/subscription-view', methods=['GET'])
|
||||||
# @token_required
|
# @token_required
|
||||||
def get_subcriptions_view_office():
|
def get_subcriptions_view_office():
|
||||||
# Call the dashboard service
|
# Call the dashboard service
|
||||||
|
|||||||
Reference in New Issue
Block a user