mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-30 01:22:28 +00:00
Update utils.go
This commit is contained in:
@@ -197,7 +197,7 @@ func GetExpirationNum(val interface{}) int32 {
|
|||||||
num2 := match[1]
|
num2 := match[1]
|
||||||
format := match[2]
|
format := match[2]
|
||||||
if len(format) == 0 {
|
if len(format) == 0 {
|
||||||
return Atoi(num)
|
return Atoi(num2)
|
||||||
}
|
}
|
||||||
start := int32(0)
|
start := int32(0)
|
||||||
switch format {
|
switch format {
|
||||||
|
|||||||
Reference in New Issue
Block a user