fix: second wait
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2024-08-04 12:21:39 +02:00
parent f149cffbdb
commit ec1140604b
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 2 additions and 2 deletions

BIN
blurp

Binary file not shown.

View File

@ -196,7 +196,7 @@ var deleteCmd = &cobra.Command{
}
slog.Info(msg)
time.Sleep(time.Duration(rate))
time.Sleep(time.Duration(rate) * time.Second)
} else {
slog.Info(fmt.Sprintf("keeping %s (created: %s)", status.ID, t.Format(time.DateOnly)))
}
@ -292,7 +292,7 @@ func readAllPaged(authClient *auth.Client, accID string) ([]*models.Status, erro
break
}
time.Sleep(time.Duration(rate))
time.Sleep(time.Duration(rate) * time.Second)
all = append(all, resp.GetPayload()...)
}