mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(actions): qbit rules set ratio and seed time limits (#264)
This commit is contained in:
parent
43d37fc859
commit
8b1174c65f
8 changed files with 86 additions and 6 deletions
|
@ -32,3 +32,10 @@ func toNullInt64(s int64) sql.NullInt64 {
|
|||
Valid: s != 0,
|
||||
}
|
||||
}
|
||||
|
||||
func toNullFloat64(s float64) sql.NullFloat64 {
|
||||
return sql.NullFloat64{
|
||||
Float64: s,
|
||||
Valid: s != 0,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue