Fixed a production build issue

This commit is contained in:
Morgan Pretty 2023-06-26 18:07:54 +10:00
parent d8ae9669c8
commit 244fe9d7ae
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ public extension OpenGroupAPI {
#if DEBUG
preconditionFailure("The `OpenGroupAPI.BatchResponse` type cannot be decoded directly, this is simply here to allow for `PreparedSendData<OpenGroupAPI.BatchResponse>` support")
#else
info = HTTP.ResponseInfo(code: 0, headers: [:])
data = [:]
#endif