fix(main): correct snapshots sorting function
This commit is contained in:
parent
8f992fc17e
commit
8adfa89575
@ -112,7 +112,7 @@ func main() {
|
||||
handleError(ctx, err, true)
|
||||
}
|
||||
|
||||
secondTime, err := time.Parse(createdAtFormat, snapshots[firstIndex].Created)
|
||||
secondTime, err := time.Parse(createdAtFormat, snapshots[secondIndex].Created)
|
||||
if err != nil {
|
||||
handleError(ctx, err, true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user