Skip to content

Commit

Permalink
fix: confirmation is no longer a list from return
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Jan 12, 2024
1 parent c812539 commit bd3ab2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpp/cluster/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void cluster::channels_get(snowflake guild_id, command_completion_event_t callba

void cluster::channel_set_voice_status(snowflake channel_id, const std::string& status, command_completion_event_t callback) {
json j({ {"status", status} });
rest_request_list<confirmation>(this, API_PATH "/channels", std::to_string(channel_id), "voice-status", m_put, j.dump(), callback);
rest_request<confirmation>(this, API_PATH "/channels", std::to_string(channel_id), "voice-status", m_put, j.dump(), callback);
}

} // namespace dpp

0 comments on commit bd3ab2d

Please sign in to comment.