Update QUALITY_OF_LIFE_IMPROVEMENTS.md
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
93a790833e
commit
c3e7263890
@ -823,7 +823,7 @@ func sendToWebhook(_ transcription: Transcription) async throws {
|
||||
"duration": transcription.duration
|
||||
]
|
||||
|
||||
guard let url = URL(string: settings.url) else {
|
||||
guard let url = URL(string: settings.url), url.scheme?.lowercased() == "https" else {
|
||||
throw WebhookError.invalidURL
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user