1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-02-03 04:39:19 +00:00

Fix /rev/ for media hyphae

This commit is contained in:
Timur Ismagilov 2022-02-19 11:29:14 +03:00 committed by Timur Ismagilov
parent c0ac87cdbd
commit 7b51467495

View File

@ -127,7 +127,7 @@ func handlerRevision(w http.ResponseWriter, rq *http.Request) {
u = user.FromRequest(rq)
)
switch h := h.(type) {
case *hyphae.TextualHypha:
case hyphae.ExistingHypha:
var textContents, err = history.FileAtRevision(h.TextFilePath(), revHash)
if err == nil {