automation calls
This commit is contained in:
@@ -13,6 +13,7 @@ from app.api.services import (
|
||||
SubscriptionsService,
|
||||
CommonDataService,
|
||||
OfficeCustomerService,
|
||||
AutomationCalls,
|
||||
GenerativesService, OfficeUsersService, OfficeTemplatesService, OfficeCountryService, WebsiteService,
|
||||
FileUploadService, ReportService
|
||||
)
|
||||
@@ -897,6 +898,14 @@ def email_check():
|
||||
AccountService.process_test_email(data)
|
||||
return {"status": "ok"}, 200
|
||||
|
||||
# ===================================================
|
||||
# Health Check Endpoint
|
||||
@api.route("/cron/refresh-payhx", methods=["GET"])
|
||||
def refresh_payhx():
|
||||
data = {}
|
||||
AutomationCalls.process_stripe_payment_refresh(data)
|
||||
return {"status": "ok"}, 200
|
||||
|
||||
|
||||
# Health Check Endpoint
|
||||
@api.route("/health", methods=["GET"])
|
||||
|
||||
Reference in New Issue
Block a user