mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-30 17:46:41 +08:00
feature (orgmode): use emacs to export org documents
This commit is contained in:
@ -106,7 +106,7 @@ func FileCat(ctx App, res http.ResponseWriter, req *http.Request) {
|
||||
Path: "/",
|
||||
})
|
||||
if model.CanRead(&ctx) == false {
|
||||
SendErrorResult(res, NewError("Permission denied", 403))
|
||||
SendErrorResult(res, ErrPermissionDenied)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user