mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 21:49:38 +00:00
Mattermost: default unknown media kind
This commit is contained in:
parent
7c5d6c3dc9
commit
a4ffebbef4
1 changed files with 1 additions and 1 deletions
|
|
@ -743,7 +743,7 @@ export async function monitorMattermostProvider(opts: MonitorMattermostOpts = {}
|
|||
out.push({
|
||||
path: saved.path,
|
||||
contentType,
|
||||
kind: core.media.mediaKindFromMime(contentType),
|
||||
kind: core.media.mediaKindFromMime(contentType) ?? "unknown",
|
||||
});
|
||||
} catch (err) {
|
||||
logger.debug?.(`mattermost: failed to download file ${fileId}: ${String(err)}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue