major refactors

This commit is contained in:
geoffrey45
2022-03-30 14:56:40 +03:00
parent 1a19fb61cd
commit 0c1e792839
21 changed files with 164 additions and 322 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class AllSongs(db.Mongo):
# def drop_db(self):
# self.collection.drop()
def insert_song(self, song_obj: dict) -> None:
def insert_song(self, song_obj: dict) -> str:
"""
Inserts a new track object into the database.
"""