Skip to content

Commit

Permalink
Fix: correct rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotheem committed Jan 3, 2025
1 parent 65aa4f4 commit fc08270
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/core/myeclpay/endpoints_myeclpay.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
get_notification_tool,
get_request_id,
get_settings,
is_user_a_member_of,
is_user_an_ecl_member,
is_user_in,
)
from app.utils.communication.notifications import NotificationTool
from app.utils.mail.mailworker import send_email
Expand All @@ -61,7 +61,7 @@
async def create_store(
store: schemas_myeclpay.StoreBase,
db: AsyncSession = Depends(get_db),
user: CoreUser = Depends(is_user_a_member_of(GroupType.payment)),
user: CoreUser = Depends(is_user_in(GroupType.payment)),
):
"""
Create a store
Expand Down Expand Up @@ -101,7 +101,7 @@ async def create_store(
)
async def get_stores(
db: AsyncSession = Depends(get_db),
user: CoreUser = Depends(is_user_a_member_of(GroupType.payment)),
user: CoreUser = Depends(is_user_in(GroupType.payment)),
):
"""
Get all stores.
Expand All @@ -123,7 +123,7 @@ async def create_store_admin_seller(
store_id: UUID,
seller: schemas_myeclpay.SellerAdminCreation,
db: AsyncSession = Depends(get_db),
user: CoreUser = Depends(is_user_a_member_of(GroupType.payment)),
user: CoreUser = Depends(is_user_in(GroupType.payment)),
):
"""
Create a store admin seller.
Expand Down Expand Up @@ -159,7 +159,7 @@ async def create_store_admin_seller(
async def get_store_admin_seller(
store_id: UUID,
db: AsyncSession = Depends(get_db),
user: CoreUser = Depends(is_user_a_member_of(GroupType.payment)),
user: CoreUser = Depends(is_user_in(GroupType.payment)),
):
"""
Get all sellers that have the `store_admin` permission for the given store.
Expand All @@ -182,7 +182,7 @@ async def delete_store_admin_seller(
store_id: UUID,
seller_user_id: str,
db: AsyncSession = Depends(get_db),
user: CoreUser = Depends(is_user_a_member_of(GroupType.payment)),
user: CoreUser = Depends(is_user_in(GroupType.payment)),
):
"""
Delete a store admin seller.
Expand Down
Binary file added result.txt
Binary file not shown.

0 comments on commit fc08270

Please sign in to comment.