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 cfdbf3c commit da4834dCopy full SHA for da4834d
SerialPrograms/Source/Integrations/DiscordWebhook.cpp
@@ -89,7 +89,9 @@ void DiscordWebhookSender::send(
89
throttle();
90
std::vector<DiscordFileAttachment> attachments;
91
for (auto& file : files){
92
- attachments.emplace_back(file->filename(), file->filepath());
+ attachments.emplace_back(
93
+ DiscordFileAttachment{file->filename(), file->filepath()}
94
+ );
95
}
96
internal_send(url, *json, attachments);
97
0 commit comments