Working flow authorize
This commit is contained in:
@@ -2,6 +2,7 @@ from fastapi import FastAPI
|
||||
from .database import engine
|
||||
from . import models
|
||||
from .routers import payment
|
||||
from .routers.transaction import transaction_router
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from config import load_config
|
||||
|
||||
@@ -26,9 +27,10 @@ app.add_middleware(
|
||||
|
||||
|
||||
app.include_router(payment.router, prefix="/api", tags=["payment"])
|
||||
app.include_router(transaction_router, prefix="/api", tags=["transactions"])
|
||||
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
return {"message": "Welcome to the HVAC Payment API"}
|
||||
return {"message": "Welcome to the HVAC Payment API"}
|
||||
|
||||
Reference in New Issue
Block a user