mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:34:01 +03:00
Fix spelling issue
This commit is contained in:
+3
-3
@@ -22,13 +22,13 @@ func startServer(conf *config.Config) {
|
||||
return
|
||||
}
|
||||
|
||||
interm := map[string]interface{}{}
|
||||
json.Unmarshal(first, &interm) // nolint: errcheck, gosec
|
||||
interim := map[string]interface{}{}
|
||||
json.Unmarshal(first, &interim) // nolint: errcheck, gosec
|
||||
|
||||
encoder := json.NewEncoder(w)
|
||||
encoder.SetEscapeHTML(false)
|
||||
encoder.SetIndent("", " ")
|
||||
if err = encoder.Encode(interm); err != nil {
|
||||
if err = encoder.Encode(interim); err != nil {
|
||||
log.Errorw("Cannot encode json", "error", err)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user