Skip to content

Commit

Permalink
ref path
Browse files Browse the repository at this point in the history
  • Loading branch information
rucsi committed Jan 17, 2024
1 parent d96f751 commit f1279e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/cms.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ func getReference(w http.ResponseWriter, r *http.Request) {
}

// Get files in directory
path := strings.ToLower(filepath.Join(cmsConfig.WorkDir, collection, id, locale+".json"))
path := filepath.Join(cmsConfig.WorkDir, collection, id, locale+".json")
rc, resp, err := gh.GetBlob(ctx, accessToken, owner, repo, ref, path)
if err != nil {
errReposGetBlob().Status(resp.StatusCode).Log(r, err).Json(w)
Expand Down

0 comments on commit f1279e3

Please sign in to comment.