oops
This commit is contained in:
@@ -2,7 +2,7 @@ import logging
|
|||||||
from fastapi import FastAPI, Request, Response, Depends
|
from fastapi import FastAPI, Request, Response, Depends
|
||||||
from fastapi_throttle import RateLimiter
|
from fastapi_throttle import RateLimiter
|
||||||
from fastapi.responses import JSONResponse
|
from fastapi.responses import JSONResponse
|
||||||
from utils.hifi_wrapper import HifiUtil
|
from utils.hifi_wrapper import SRUtil
|
||||||
from auth.deps import get_current_user
|
from auth.deps import get_current_user
|
||||||
|
|
||||||
logging.getLogger().setLevel(logging.INFO)
|
logging.getLogger().setLevel(logging.INFO)
|
||||||
@@ -16,7 +16,7 @@ class RIP(FastAPI):
|
|||||||
def __init__(self, app: FastAPI, my_util, constants) -> None:
|
def __init__(self, app: FastAPI, my_util, constants) -> None:
|
||||||
self.app: FastAPI = app
|
self.app: FastAPI = app
|
||||||
self.util = my_util
|
self.util = my_util
|
||||||
self.trip_util = HifiUtil()
|
self.trip_util = SRUtil()
|
||||||
self.constants = constants
|
self.constants = constants
|
||||||
self.endpoints: dict = {
|
self.endpoints: dict = {
|
||||||
"trip/get_artists_by_name": self.artists_by_name_handler,
|
"trip/get_artists_by_name": self.artists_by_name_handler,
|
||||||
|
Reference in New Issue
Block a user