Skip to content

Commit

Permalink
WIP a few minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
zacdezgeo committed Aug 2, 2024
1 parent 022ecb3 commit 08cdd4f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion space2stats_api/app/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from fastapi import FastAPI
from mangum import Mangum

from .routers import api
from app.routers import api


app = FastAPI()
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion space2stats_api/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Settings(BaseSettings):
DB_PASSWORD: str
DB_TABLE_NAME: str

model_config = SettingsConfigDict(env_file="../db.env")
model_config = SettingsConfigDict(env_file="db.env")


settings = Settings()
2 changes: 1 addition & 1 deletion space2stats_api/app/utils/db_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import psycopg as pg
from ..settings import settings
from app.settings import settings

DB_HOST = settings.DB_HOST
DB_PORT = settings.DB_PORT
Expand Down

0 comments on commit 08cdd4f

Please sign in to comment.