From b5dd87a263a27d40236bd5e074b1ee3f968fe753 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Fri, 4 Oct 2024 11:44:59 +0530 Subject: [PATCH] fix: cron --- .../CleanupOAuthRevokeListAndChallenges.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/supertokens/cronjobs/cleanupOAuthRevokeListAndChallenges/CleanupOAuthRevokeListAndChallenges.java b/src/main/java/io/supertokens/cronjobs/cleanupOAuthRevokeListAndChallenges/CleanupOAuthRevokeListAndChallenges.java index f61a68a77..89f0f8c67 100644 --- a/src/main/java/io/supertokens/cronjobs/cleanupOAuthRevokeListAndChallenges/CleanupOAuthRevokeListAndChallenges.java +++ b/src/main/java/io/supertokens/cronjobs/cleanupOAuthRevokeListAndChallenges/CleanupOAuthRevokeListAndChallenges.java @@ -5,12 +5,11 @@ import io.supertokens.Main; import io.supertokens.cronjobs.CronTask; import io.supertokens.cronjobs.CronTaskTest; +import io.supertokens.pluginInterface.STORAGE_TYPE; import io.supertokens.pluginInterface.Storage; import io.supertokens.pluginInterface.StorageUtils; -import io.supertokens.pluginInterface.multitenancy.AppIdentifier; import io.supertokens.pluginInterface.multitenancy.TenantIdentifier; import io.supertokens.pluginInterface.oauth.OAuthStorage; -import io.supertokens.storageLayer.StorageLayer; public class CleanupOAuthRevokeListAndChallenges extends CronTask { @@ -29,6 +28,10 @@ public static CleanupOAuthRevokeListAndChallenges init(Main main, List