Skip to content

Commit

Permalink
Merge branch '6.0' into final
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Mar 13, 2024
2 parents 51c2832 + 3d1174c commit 19a0171
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package io.supertokens.pluginInterface;

import io.supertokens.pluginInterface.authRecipe.AuthRecipeStorage;
import io.supertokens.pluginInterface.authRecipe.sqlStorage.AuthRecipeSQLStorage;
import io.supertokens.pluginInterface.dashboard.sqlStorage.DashboardSQLStorage;
import io.supertokens.pluginInterface.emailpassword.sqlStorage.EmailPasswordSQLStorage;
Expand Down Expand Up @@ -118,12 +117,12 @@ public static TOTPSQLStorage getTOTPStorage(Storage storage) {
return (TOTPSQLStorage) storage;
}

public static ActiveUsersStorage getActiveUsersStorage(Storage storage) {
public static ActiveUsersSQLStorage getActiveUsersStorage(Storage storage) {
if (storage.getType() != STORAGE_TYPE.SQL) {
// we only support SQL for now
throw new UnsupportedOperationException("");
}
return (ActiveUsersStorage) storage;
return (ActiveUsersSQLStorage) storage;
}

public static MultitenancyStorage getMultitenancyStorage(Storage storage) {
Expand Down

0 comments on commit 19a0171

Please sign in to comment.