mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-23 06:57:59 +00:00
put a new line between the short and long description
This commit is contained in:
parent
594af5658b
commit
8a5a13f516
|
@ -24,7 +24,9 @@ async def handle_authorize_get(
|
||||||
client_id: str,
|
client_id: str,
|
||||||
redirect_uri: str) -> Response:
|
redirect_uri: str) -> Response:
|
||||||
"""
|
"""
|
||||||
Authorize an application. Redirects to the application's redirect URI if accepted.
|
Authorize an application.
|
||||||
|
|
||||||
|
Redirects to the application's redirect URI if accepted.
|
||||||
|
|
||||||
:param response_type: What to respond with. Should always be set to ``code``.
|
:param response_type: What to respond with. Should always be set to ``code``.
|
||||||
:param client_id: Application identifier
|
:param client_id: Application identifier
|
||||||
|
|
|
@ -53,7 +53,7 @@ def parse_docstring(docstring: str) -> tuple[str, dict[str, str]]:
|
||||||
body = cast(str, ds.short_description)
|
body = cast(str, ds.short_description)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
body = "\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item]
|
body = "\n\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item]
|
||||||
|
|
||||||
return body, params
|
return body, params
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue