[server] Change default link expiry to never

This commit is contained in:
Neeraj Gupta 2024-08-03 16:11:25 +05:30 committed by Neeraj Gupta
parent c41933edc4
commit 3392e39f7c

View File

@ -129,8 +129,6 @@ func (h *CollectionHandler) ShareURL(c *gin.Context) {
handler.Error(c, stacktrace.Propagate(err, ""))
return
}
// todo:[2/Sep/23] change device limit to 0 once both web and mobile clients are updated
request.DeviceLimit = controller.DeviceLimitThreshold
response, err := h.Controller.ShareURL(c, auth.GetUserID(c.Request.Header), request)
if err != nil {
handler.Error(c, stacktrace.Propagate(err, ""))