mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
fixed from PR comment
This commit is contained in:
@@ -46,7 +46,7 @@ async def add_collection(
|
||||
cleaned_data["name"], request.user.id
|
||||
)
|
||||
|
||||
if collection_db:
|
||||
if db_collection:
|
||||
raise CollectionAlreadyExistsException(cleaned_data["name"])
|
||||
|
||||
_added_collection = db_collection_handler.add_collection(Collection(**cleaned_data))
|
||||
|
||||
@@ -33,7 +33,7 @@ async function searchCovers() {
|
||||
|
||||
if (!searching.value) {
|
||||
searching.value = true;
|
||||
await steamgriddb
|
||||
await sgdbApi
|
||||
.searchCover({
|
||||
searchTerm: searchTerm.value,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user