fixed issue wit the way returning works
This commit is contained in:
parent
7126db9666
commit
dd0708eef0
@ -84,7 +84,8 @@ def clean_object(dirty_object: DatabaseObject) -> DatabaseObject:
|
|||||||
Song: Collection(element_type=Song)
|
Song: Collection(element_type=Song)
|
||||||
}
|
}
|
||||||
|
|
||||||
return _clean_music_object(dirty_object, collections)
|
_clean_music_object(dirty_object, collections)
|
||||||
|
return dirty_object
|
||||||
|
|
||||||
def build_new_object(new_object: DatabaseObject) -> DatabaseObject:
|
def build_new_object(new_object: DatabaseObject) -> DatabaseObject:
|
||||||
new_object = clean_object(new_object)
|
new_object = clean_object(new_object)
|
||||||
|
Loading…
Reference in New Issue
Block a user