Fix /rev/ for media hyphae
This commit is contained in:
parent
c0ac87cdbd
commit
7b51467495
@ -127,7 +127,7 @@ func handlerRevision(w http.ResponseWriter, rq *http.Request) {
|
|||||||
u = user.FromRequest(rq)
|
u = user.FromRequest(rq)
|
||||||
)
|
)
|
||||||
switch h := h.(type) {
|
switch h := h.(type) {
|
||||||
case *hyphae.TextualHypha:
|
case hyphae.ExistingHypha:
|
||||||
var textContents, err = history.FileAtRevision(h.TextFilePath(), revHash)
|
var textContents, err = history.FileAtRevision(h.TextFilePath(), revHash)
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user