This commit is contained in:
divyam234 2023-12-18 16:42:49 +05:30
parent 370d55508e
commit e2e201ac36
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

@ -1 +1 @@
Subproject commit f5e563e9b3a66bcb9779d9af782ee6f9767c86d3
Subproject commit f5a2e43f0e63c4602f03a45b5b26249f4d3e50c9