Added default headers to ServerError<T> for Kotlin OkHTTP generator (#20161)

This commit is contained in:
Ross
2024-11-22 22:10:22 +09:00
committed by GitHub
parent 2b891f6da9
commit 23aa2e2cb2
22 changed files with 22 additions and 22 deletions

View File

@@ -39,5 +39,5 @@ class ServerError<T>(
val message: String? = null,
val body: Any? = null,
override val statusCode: Int = -1,
override val headers: Map<String, List<String>>
override val headers: Map<String, List<String>> = mapOf()
): ApiResponse<T>(ResponseType.ServerError)