Explorar el Código

Updated error message on about to no longer reference user

thisnthat hace 5 años
padre
commit
e63613846c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      about.go

+ 1 - 1
about.go

@@ -30,7 +30,7 @@ func GetAbout(config APIConfig) (About, error) {
 	json.NewDecoder(response.Body).Decode(&result)
 
 	if result.ErrorType != "" {
-		return About{}, fmt.Errorf("Failed to get discourse user. Error: %s", strings.Join(result.Errors, "; "))
+		return About{}, fmt.Errorf("Failed to get discourse version. Error: %s", strings.Join(result.Errors, "; "))
 	}
 
 	return result.About, nil