Skip to content

Commit

Permalink
sync-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam234 committed Dec 18, 2023
1 parent 370d555 commit e2e201a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkg/services/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ func (us *UploadService) UploadFile(c *gin.Context) (*schemas.UploadPartOut, *ty

fileSize := c.Request.ContentLength

defer c.Request.Body.Close()

if uploadQuery.ChannelID == 0 {
channelId, err = GetDefaultChannel(c, userId)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion ui/teldrive-ui

0 comments on commit e2e201a

Please sign in to comment.