mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 11:31:27 +00:00
mut fixup
This commit is contained in:
1 parent
ee387ce314
commit
4b0cd9c197
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ impl ChannelPointsEventHandler {
|
||||
ChannelPointsChannelV1Reply::UpdateRedemptionStatusProgress { .. } => {}
|
||||
// Implemented
|
||||
ChannelPointsChannelV1Reply::RewardRedeemed { timestamp, redemption } => {
|
||||
self.handle_reward_redeemed(redemption).await;
|
||||
self.handle_reward_redeemed(redemption).await?;
|
||||
}
|
||||
_ => {},
|
||||
}
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ impl TtsWriter {
|
||||
}
|
||||
|
||||
// NB: &mut is for Redis pool.
|
||||
pub async fn write_tts(&mut self, message_text: &str) -> AnyhowResult<()> {
|
||||
pub async fn write_tts(&self, message_text: &str) -> AnyhowResult<()> {
|
||||
let sanitized_text = remove_cheers(message_text);
|
||||
let job_token = Tokens::new_tts_inference_job()?;
|
||||
//let model_token = "TM:7wbtjphx8h8v"; // "Mario *" voice (prod)
|
||||
|
||||
Reference in new issue
Block a user