mirror of
https://github.com/glanceapp/glance.git
synced 2024-12-23 23:49:28 +01:00
Increase max body length
This commit is contained in:
parent
2eb8e71e89
commit
78572a534b
@ -54,7 +54,7 @@ func decodeJsonFromRequest[T any](client RequestDoer, request *http.Request) (T,
|
||||
"unexpected status code %d for %s, response: %s",
|
||||
response.StatusCode,
|
||||
request.URL,
|
||||
truncateString(string(body), 128),
|
||||
truncateString(string(body), 256),
|
||||
)
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ func decodeXmlFromRequest[T any](client RequestDoer, request *http.Request) (T,
|
||||
"unexpected status code %d for %s, response: %s",
|
||||
response.StatusCode,
|
||||
request.URL,
|
||||
truncateString(string(body), 128),
|
||||
truncateString(string(body), 256),
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user