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 f4c806c commit cfdbf3cCopy full SHA for cfdbf3c
SerialPrograms/Source/Integrations/DiscordWebhook.cpp
@@ -66,7 +66,9 @@ void DiscordWebhookSender::send(
66
throttle();
67
std::vector<DiscordFileAttachment> attachments;
68
if (file){
69
- attachments.emplace_back(file->filename(), file->filepath());
+ attachments.emplace_back(
70
+ DiscordFileAttachment{file->filename(), file->filepath()}
71
+ );
72
}
73
internal_send(url, *json, attachments);
74
0 commit comments