Skip to content

Commit

Permalink
email_utils -> utils/email
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jun 5, 2024
1 parent 146c1e5 commit 35af3ce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store/app/api/routers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

from store.app.api.crypto import get_new_api_key, get_new_user_id
from store.app.api.db import Crud
from store.app.api.email_utils import OneTimePassPayload, send_delete_email, send_otp_email
from store.app.api.model import User
from store.app.api.utils.email import OneTimePassPayload, send_delete_email, send_otp_email

logger = logging.getLogger(__name__)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/api/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pytest_mock.plugin import MockType

from store.app.api.db import create_tables
from store.app.api.email_utils import OneTimePassPayload
from store.app.api.utils.email import OneTimePassPayload


def test_user_auth_functions(app_client: TestClient, mock_send_email: MockType) -> None:
Expand Down

0 comments on commit 35af3ce

Please sign in to comment.