mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
major refactors
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user