Parcourir la source

Updated error message on about to no longer reference user

thisnthat il y a 5 ans
Parent
commit
e63613846c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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