We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7daaa commit 443db5cCopy full SHA for 443db5c
src/rmfpapi/api/description.py
@@ -32,7 +32,14 @@ class Config: # pylint: disable=too-few-public-methods
32
)
33
async def return_product_description(language: str) -> ProductDescription:
34
"""Fetch description from each product in manifest"""
35
- _ = language
+ if language == "fi":
36
+ return ProductDescription(
37
+ shortname="fake",
38
+ title="Feikkituote",
39
+ icon=None,
40
+ description=""""tuote" integraatioiden testaamiseen""",
41
+ language="fi",
42
+ )
43
return ProductDescription(
44
shortname="fake",
45
title="Fake Product",
0 commit comments