fix(main): correct snapshots sorting function

This commit is contained in:
Yukine 2021-02-05 02:46:39 +01:00
parent 8f992fc17e
commit 8adfa89575
No known key found for this signature in database
GPG Key ID: 6AE0B5764F0126D1

View File

@ -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)
}