File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
2828< span > Expand source code</ span >
2929</ summary >
3030< pre > < code class ="python "> """Check the latest version at https://pypi.org/project/slack-sdk/"""
31- __version__ = "3.19.0 "</ code > </ pre >
31+ __version__ = "3.19.1 "</ code > </ pre >
3232</ details >
3333</ section >
3434< section >
Original file line number Diff line number Diff line change @@ -364,6 +364,9 @@ <h1 class="title">Module <code>slack_sdk.web.internal_utils</code></h1>
364364 if data is None:
365365 raise SlackRequestError(f"File content not found for filename: {filename}, title: {title}")
366366
367+ if title is None:
368+ title = filename # to be consistent with files.upload API
369+
367370 return {
368371 "filename": filename,
369372 "data": data,
You can’t perform that action at this time.
0 commit comments