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:
parent
c0ac87cdbd
commit
7b51467495
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user