Browse Source

Updated error message on about to no longer reference user

thisnthat 4 years ago
parent
commit
e63613846c
1 changed files with 1 additions and 1 deletions
  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