fix: use s5 bucket
This commit is contained in:
parent
a16bcc788d
commit
35aa206687
|
@ -87,7 +87,7 @@ func (h *HttpHandlerImpl) SmallFileUpload(jc *jape.Context) {
|
||||||
}(r.Body)
|
}(r.Body)
|
||||||
}
|
}
|
||||||
|
|
||||||
hash, err := h.portal.Storage().PutFile(interface{}(buffer).(io.ReadSeeker), "test", false)
|
hash, err := h.portal.Storage().PutFile(interface{}(buffer).(io.ReadSeeker), "s5", false)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
_ = jc.Error(errUploadingFileErr, http.StatusInternalServerError)
|
_ = jc.Error(errUploadingFileErr, http.StatusInternalServerError)
|
||||||
|
|
Loading…
Reference in New Issue