Skip to content

Commit 58c1705

Browse files
committed
fix
1 parent 7dc40e7 commit 58c1705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/packages/container/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (e *namedError) WithStatusCode(statusCode int) *namedError {
5858
}
5959

6060
// WithDetail creates a new instance of the error with detail
61-
func (e *namedError) WithDetail(detail interface{}) *namedError {
61+
func (e *namedError) WithDetail(detail any) *namedError {
6262
return &namedError{
6363
Code: e.Code,
6464
StatusCode: e.StatusCode,

0 commit comments

Comments
 (0)