fix asses.Next and do asses.Record
This commit is contained in:
@@ -26,7 +26,7 @@ func Next(ctx context.Context) (time.Time, error) {
|
||||
ORDER BY executed_at DESC
|
||||
LIMIT 1
|
||||
`)
|
||||
return result.Did, err
|
||||
return result.Did.Add(time.Hour), err
|
||||
}
|
||||
|
||||
func Record(ctx context.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user