21
0
Fork 0

v0.0.256 bind header
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m4s Details

This commit is contained in:
Julian Graf 2023-08-28 10:44:38 +02:00
parent cd68af8e66
commit 43cac4b3bb
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ func (pctx PreContext) Start() (*AppContext, *gin.Context, *HTTPResponse) {
}
if pctx.header != nil {
if err := pctx.ginCtx.ShouldBindHeader(pctx.query); err != nil {
if err := pctx.ginCtx.ShouldBindHeader(pctx.header); err != nil {
err = exerr.Wrap(err, "Failed to read header").
WithType(exerr.TypeBindFailHeader).
Str("struct_type", fmt.Sprintf("%T", pctx.query)).

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.255"
const GoextVersion = "0.0.256"
const GoextVersionTimestamp = "2023-08-24T09:47:32+0200"
const GoextVersionTimestamp = "2023-08-28T10:44:38+0200"