fix: fix incorrect type assertion [SKIP CI]
This commit is contained in:
parent
0f4611962f
commit
626705c0ea
|
@ -155,7 +155,7 @@ func (re apiErrorRenderer) domainErrorToAPIError(domainErr domain.Error) apiErro
|
||||||
|
|
||||||
pathSegments = append(pathSegments, withPath.Path())
|
pathSegments = append(pathSegments, withPath.Path())
|
||||||
|
|
||||||
u, ok := err.(interface {
|
u, ok := withPath.(interface {
|
||||||
Unwrap() error
|
Unwrap() error
|
||||||
})
|
})
|
||||||
if ok {
|
if ok {
|
||||||
|
|
Loading…
Reference in New Issue