Settings: Rename constants/variables to follow Go naming standards (#28002)
* settings: Rename constants/variables to follow Go naming standards Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ func Error(status int, message string, err error) *NormalResponse {
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
if setting.Env != setting.PROD {
|
||||
if setting.Env != setting.Prod {
|
||||
data["error"] = err.Error()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user