mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-02-24 23:13:53 +08:00
sync-ui
This commit is contained in:
parent
370d55508e
commit
e2e201ac36
2 changed files with 3 additions and 1 deletions
|
@ -147,6 +147,8 @@ func (us *UploadService) UploadFile(c *gin.Context) (*schemas.UploadPartOut, *ty
|
||||||
|
|
||||||
fileSize := c.Request.ContentLength
|
fileSize := c.Request.ContentLength
|
||||||
|
|
||||||
|
defer c.Request.Body.Close()
|
||||||
|
|
||||||
if uploadQuery.ChannelID == 0 {
|
if uploadQuery.ChannelID == 0 {
|
||||||
channelId, err = GetDefaultChannel(c, userId)
|
channelId, err = GetDefaultChannel(c, userId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit f5e563e9b3a66bcb9779d9af782ee6f9767c86d3
|
Subproject commit f5a2e43f0e63c4602f03a45b5b26249f4d3e50c9
|
Loading…
Reference in a new issue