Skip to content

Commit

Permalink
refactor: rename api data
Browse files Browse the repository at this point in the history
  • Loading branch information
KageRyo committed Aug 8, 2024
1 parent b575849 commit 6736348
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions RyoURL/shortURL/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from pydantic import AnyUrl

from .apis.auth import auth_router, JWTAuth
from .apis.short import url_router
from .apis.auth_api import auth_router, JWTAuth
from .apis.short_api import url_router

# 自定義 JSON 編碼器和渲染器
class CustomJSONEncoder(DjangoJSONEncoder):
Expand Down
4 changes: 2 additions & 2 deletions RyoURL/shortURL/apis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .auth import auth_router
from .short import url_router
from .auth_api import auth_router
from .short_api import url_router
File renamed without changes.
File renamed without changes.

0 comments on commit 6736348

Please sign in to comment.