Skip to content

Commit

Permalink
fix products endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
marveldo committed Aug 15, 2024
1 parent 070ce4b commit e6d302e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion api/v1/routes/organisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from fastapi.encoders import jsonable_encoder
from fastapi.responses import StreamingResponse
from sqlalchemy.orm import Session
from api.v1.services import invite
from api.utils.success_response import success_response
from api.v1.models.user import User
from api.v1.schemas.organisation import (
Expand Down
2 changes: 1 addition & 1 deletion api/v1/services/invite.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from datetime import datetime, timedelta
from pytz import utc
from sqlalchemy.orm import Session,joinedload
from sqlalchemy.orm import Session
from sqlalchemy import insert
from fastapi import HTTPException, Request, Depends, status
from collections import OrderedDict
Expand Down
3 changes: 0 additions & 3 deletions api/v1/services/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,4 @@ def fetch_all(db: Session, **query_params: Optional[Any]):






product_service = ProductService()

0 comments on commit e6d302e

Please sign in to comment.