fix(e2e): fix space test failed

This commit is contained in:
hexxa 2021-09-28 13:30:27 +08:00 committed by Hexxa
parent ffd8131dfd
commit 9c3a947795

View file

@ -150,7 +150,7 @@ func (h *FileHandlers) Create(c *gin.Context) {
c.JSON(q.ErrResp(c, 500, err))
return
} else if !ok {
c.JSON(q.ErrResp(c, 429, err))
c.JSON(q.ErrResp(c, 429, userstore.ErrReachedLimit))
return
}