Skip to content

Commit

Permalink
fix arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed Dec 23, 2024
1 parent a63d12b commit 75e2825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/cleanupmanager/apikeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type APIKeysArgs struct{}
func (APIKeysArgs) Kind() string { return "cleanup-manager-api-keys" }

// CleanupAPIKeys will revoke access to the API from unused tokens, including both user sessions and calendar subscriptions.
func (db *DB) CleanupAPIKeys(ctx context.Context, j *river.Job[ShiftArgs]) error {
func (db *DB) CleanupAPIKeys(ctx context.Context, j *river.Job[APIKeysArgs]) error {
err := db.whileWork(ctx, func(ctx context.Context, tx *sql.Tx) (done bool, err error) {
// After 30 days, the token is no longer valid, so delete it.
//
Expand Down

0 comments on commit 75e2825

Please sign in to comment.