feat: deals viewer mode and links for viewers
This commit is contained in:
@@ -31,8 +31,9 @@ product_router = APIRouter(
|
||||
async def create_product(
|
||||
request: ProductCreateRequest,
|
||||
session: Annotated[AsyncSession, Depends(get_session)],
|
||||
user: CurrentUserDependency,
|
||||
):
|
||||
return await ProductService(session).create(request)
|
||||
return await ProductService(session).create(request, user)
|
||||
|
||||
|
||||
@product_router.post(
|
||||
|
||||
Reference in New Issue
Block a user