mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix typo in string setting secondary voice
This commit is contained in:
parent
1d0b19f909
commit
ae5c8269ff
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ public class AudioController: NSObject, ObservableObject, AVAudioPlayerDelegate,
|
|||
// return (pending: false, url: audioUrl)
|
||||
// }
|
||||
|
||||
let path = "/api/article/\(pageId)/speech?voice=\(currentVoice)&secondaryVoice=\(secondaryVoice)priority=\(priority)"
|
||||
let path = "/api/article/\(pageId)/speech?voice=\(currentVoice)&secondaryVoice=\(secondaryVoice)&priority=\(priority)"
|
||||
guard let url = URL(string: path, relativeTo: appEnvironment.serverBaseURL) else {
|
||||
throw BasicError.message(messageText: "Invalid audio URL")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue