Fix Timelapse Max Storage Share default amount

merge-requests/289/head
Moe Alam 2021-01-30 07:33:19 -08:00
parent f2cf762b60
commit b3c72b2ef0
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ module.exports = function(s,config,lang,io){
var userDetails = JSON.parse(user.details)
s.group[user.ke].sizeLimit = parseFloat(userDetails.size) || 10000
s.group[user.ke].sizeLimitVideoPercent = parseFloat(userDetails.size_video_percent) || 90
s.group[user.ke].sizeLimitTimelapseFramesPercent = parseFloat(userDetails.size_timelapse_percent) || 10
s.group[user.ke].sizeLimitTimelapseFramesPercent = parseFloat(userDetails.size_timelapse_percent) || 5
s.group[user.ke].sizeLimitFileBinPercent = parseFloat(userDetails.size_filebin_percent) || 5
s.knexQuery({
action: "select",
columns: "*",