Skip to content

Commit d86ee8e

Browse files
authored
hg: missed a spot (#591)
1 parent 3efc8ff commit d86ee8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

salt/hg/files/hg/src/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,6 @@ def hgrev(repo, rev):
7373
response.headers["Content-Type"] = "text/plain"
7474
return response
7575

76-
return make_response(result.stdout, 200)
76+
response = make_response(result.stdout, 200)
77+
response.headers["Content-Type"] = "text/plain"
78+
return response

0 commit comments

Comments
 (0)