added contactas endpoint
This commit is contained in:
@@ -13,6 +13,7 @@ from app.api.services import (
|
||||
NotificationCallbackService,
|
||||
AuthorizationService,
|
||||
MyProductsService,
|
||||
ContactService,
|
||||
)
|
||||
from app.utils.logger import logger
|
||||
from app.api.middlewares import enforce_json, require_auth
|
||||
@@ -116,6 +117,14 @@ def myproduct_url():
|
||||
response = ProductsService.product_url_request(data)
|
||||
return response
|
||||
|
||||
#
|
||||
@api.route("/panel/contacts", methods=["POST"])
|
||||
def merms_contacts():
|
||||
data = request.get_json()
|
||||
logger.info(f"Route ContactService URL Data ==>>>> {data}")
|
||||
response = ContactService.process_request(data)
|
||||
return response
|
||||
|
||||
|
||||
|
||||
@api.route("/panel/account/products", methods=["POST"])
|
||||
|
||||
Reference in New Issue
Block a user