mirror of
https://github.com/ente-io/ente.git
synced 2025-08-09 07:48:52 +00:00
[server] Change default link expiry to never
This commit is contained in:
parent
c41933edc4
commit
3392e39f7c
@ -129,8 +129,6 @@ func (h *CollectionHandler) ShareURL(c *gin.Context) {
|
|||||||
handler.Error(c, stacktrace.Propagate(err, ""))
|
handler.Error(c, stacktrace.Propagate(err, ""))
|
||||||
return
|
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)
|
response, err := h.Controller.ShareURL(c, auth.GetUserID(c.Request.Header), request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
handler.Error(c, stacktrace.Propagate(err, ""))
|
handler.Error(c, stacktrace.Propagate(err, ""))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user