mirror of
				https://github.com/osmarks/mycorrhiza.git
				synced 2025-10-31 15:43:00 +00:00 
			
		
		
		
	Fix /rev/ for media hyphae
This commit is contained in:
		 Timur Ismagilov
					Timur Ismagilov
				
			
				
					committed by
					
						 Timur Ismagilov
						Timur Ismagilov
					
				
			
			
				
	
			
			
			 Timur Ismagilov
						Timur Ismagilov
					
				
			
						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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user