Skip to content

Commit

Permalink
chore(dev): re-org (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
hibare authored Feb 8, 2024
1 parent 24bf354 commit a293078
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
Empty file added backend/moni/auth/__init__.py
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion backend/moni/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework_simplejwt.authentication.JWTAuthentication',
'moni.utils.api_authentication.APIAuthentication',
'moni.auth.api_authentication.APIAuthentication',
],
'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'],
}
Expand Down
4 changes: 2 additions & 2 deletions backend/moni/utils/favicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from typing import Optional
import bs4
from urllib.parse import urljoin, urlparse, urlunparse
from moni.utils.urls import get_base_url, parse_url
from moni.utils.requests_proxy import requests_get
from moni.requests.urls import get_base_url, parse_url
from moni.requests.proxy import requests_get

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion backend/notifiers/services/discord/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import json
from typing import List, Tuple
from django.conf import settings
from moni.utils.requests_proxy import requests_post
from moni.requests.proxy import requests_post
from notifiers.services import NotifierService

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion backend/notifiers/services/gotify/gotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import json
from typing import List, Tuple
from django.conf import settings
from moni.utils.requests_proxy import requests_post
from moni.requests.proxy import requests_post
from notifiers.services import NotifierService


Expand Down
2 changes: 1 addition & 1 deletion backend/notifiers/services/slack/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import json
from typing import List, Tuple
from django.conf import settings
from moni.utils.requests_proxy import requests_post
from moni.requests.proxy import requests_post
from notifiers.services import NotifierService

logger = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions backend/notifiers/services/telegram/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import json
from typing import List, Tuple
from django.conf import settings
from moni.utils.requests_proxy import requests_post
from moni.utils.urls import parse_url
from moni.requests.proxy import requests_post
from moni.requests.urls import parse_url
from notifiers.services import NotifierService

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion backend/notifiers/services/webhook/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
from typing import List, Tuple
import json
from moni.utils.requests_proxy import requests_post
from moni.requests.proxy import requests_post
from notifiers.services import NotifierService


Expand Down

0 comments on commit a293078

Please sign in to comment.