Skip to content

Commit 8bcc505

Browse files
committed
fix: redclared variable
1 parent 7862e34 commit 8bcc505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (a *API) loadInstanceConfig(w http.ResponseWriter, r *http.Request) (contex
116116
return nil, internalServerError("Database error loading instance").WithInternalError(err)
117117
}
118118

119-
config, err := instance.Config()
119+
config, err = instance.Config()
120120
if err != nil {
121121
return nil, internalServerError("Error loading environment config").WithInternalError(err)
122122
}

0 commit comments

Comments
 (0)