Skip to content

Commit

Permalink
Minor typofixes for error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Feb 15, 2024
1 parent b30e596 commit 41a4ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion latest.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func refreshLatestHandler(reqpath string, globals *globalConfiguration) (*latest
}

if !isAuthorizedToAdmin(source_user, globals.Administrators) {
return nil, fmt.Errorf("user %q is not authorized to refreseh the latest version (%q)", source_user, reqpath)
return nil, fmt.Errorf("user %q is not authorized to refresh the latest version (%q)", source_user, reqpath)
}

incoming := struct {
Expand Down
2 changes: 1 addition & 1 deletion usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func refreshUsageHandler(reqpath string, globals *globalConfiguration) (*usageMe
}

if !isAuthorizedToAdmin(source_user, globals.Administrators) {
return nil, fmt.Errorf("user %q is not authorized to refreseh the latest version (%q)", source_user, reqpath)
return nil, fmt.Errorf("user %q is not authorized to refresh the latest version (%q)", source_user, reqpath)
}

incoming := struct {
Expand Down

0 comments on commit 41a4ee9

Please sign in to comment.