fix: fix incorrect type assertion [SKIP CI]

This commit is contained in:
Dawid Wysokiński 2024-03-01 07:59:56 +01:00
parent 0f4611962f
commit 626705c0ea
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ func (re apiErrorRenderer) domainErrorToAPIError(domainErr domain.Error) apiErro
pathSegments = append(pathSegments, withPath.Path())
u, ok := err.(interface {
u, ok := withPath.(interface {
Unwrap() error
})
if ok {