mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
set defaults for request context
This commit is contained in:
parent
63b24aed3f
commit
8081b60146
23 changed files with 692 additions and 666 deletions
|
@ -96,8 +96,8 @@ func (h *Handler) convert(w http.ResponseWriter, r *http.Request, job, folderID
|
|||
method := "conversion.upload"
|
||||
ctx := domain.GetRequestContext(r)
|
||||
|
||||
licenseKey := h.Store.Setting.Get("EDITION-LICENSE", "key")
|
||||
licenseSignature := h.Store.Setting.Get("EDITION-LICENSE", "signature")
|
||||
licenseKey, _ := h.Store.Setting.Get("EDITION-LICENSE", "key")
|
||||
licenseSignature, _ := h.Store.Setting.Get("EDITION-LICENSE", "signature")
|
||||
k, _ := hex.DecodeString(licenseKey)
|
||||
s, _ := hex.DecodeString(licenseSignature)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue