fix maybe for SDK v3 docs

This commit is contained in:
Pratyush Shukla
2024-03-12 13:58:04 +05:30
parent 75157ce030
commit e4beecf5ef

View File

@@ -17,7 +17,7 @@ API_URL = "https://api-bff.nftpricefloor.com"
def get_collection_slugs() -> List[str]:
df = get_collections()
if not df.empty and "slug" in df.columns:
return df["slug"].tolist()
return df["slug"].values.tolist()
return []