mirror of
https://github.com/xpltdco/media-rip.git
synced 2026-04-03 02:53:58 -06:00
Fix lint: remove unused save_settings import in revoke_api_key
This commit is contained in:
parent
b0d2781980
commit
43b5ba3f72
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@ async def revoke_api_key(
|
||||||
config = request.app.state.config
|
config = request.app.state.config
|
||||||
config.server.api_key = ""
|
config.server.api_key = ""
|
||||||
|
|
||||||
from app.services.settings import save_settings, delete_setting
|
from app.services.settings import delete_setting
|
||||||
db = request.app.state.db
|
db = request.app.state.db
|
||||||
await delete_setting(db, "api_key")
|
await delete_setting(db, "api_key")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue