Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
4l3j0Ok committed Mar 30, 2024
1 parent 1f9005a commit ab8a41e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/modules/bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def update_banks():

def add_bank(bank):
logger.info("Agregando un nuevo banco...")
result = db.insert_one(bank.dict())
db.insert_one(bank.dict())
return True, messages.MSG_SUCCESS_SAVE
3 changes: 1 addition & 2 deletions src/modules/security.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import secrets
from fastapi import Depends, HTTPException, status
from fastapi import Depends
from fastapi.security import HTTPBasic, HTTPBasicCredentials
from typing import Annotated
from modules.logger import logger
from modules import config


Expand Down
2 changes: 1 addition & 1 deletion src/routers/bank.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fastapi import APIRouter, HTTPException, Depends, HTTPException, status
from fastapi import APIRouter, HTTPException, Depends, status
from typing import Annotated
import modules.bank as functions
from models.response import Success, Detail
Expand Down

0 comments on commit ab8a41e

Please sign in to comment.