Unverified Commit 51d643c7 authored by Sara Vieira's avatar Sara Vieira Committed by GitHub

chore: default type to text/plain (#4993)

Signed-off-by: 's avatarSara Vieira <hey@iamsaravieira.com>
Co-authored-by: 's avatarboojack <stevenlgtm@gmail.com>
parent ba7dfb7d
......@@ -52,7 +52,7 @@ const UploadAttachmentButton = observer((props: Props) => {
attachment: Attachment.fromPartial({
filename,
size,
type: type || mime.getType(filename) || "",
type: type || mime.getType(filename) || "text/plain",
content: buffer,
}),
attachmentId: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment