Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Nov 29, 2024
1 parent f4c806c commit cfdbf3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SerialPrograms/Source/Integrations/DiscordWebhook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ void DiscordWebhookSender::send(
throttle();
std::vector<DiscordFileAttachment> attachments;
if (file){
attachments.emplace_back(file->filename(), file->filepath());
attachments.emplace_back(
DiscordFileAttachment{file->filename(), file->filepath()}
);
}
internal_send(url, *json, attachments);
}
Expand Down

0 comments on commit cfdbf3c

Please sign in to comment.