Skip to content

Commit 41e6563

Browse files
committed
fixes bug with unverify email function
1 parent 623c764 commit 41e6563

File tree

1 file changed

+3
-3
lines changed
  • supertokens_python/recipe/emailverification/syncio

1 file changed

+3
-3
lines changed

supertokens_python/recipe/emailverification/syncio/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
from typing import Any, Dict, Union, Optional
15+
from typing import Any, Dict, Optional, Union
1616

1717
from supertokens_python.async_to_sync_wrapper import sync
1818
from supertokens_python.recipe.emailverification.types import EmailTemplateVars
@@ -67,9 +67,9 @@ def unverify_email(
6767
email: Optional[str] = None,
6868
user_context: Union[None, Dict[str, Any]] = None,
6969
):
70-
from supertokens_python.recipe.emailverification.asyncio import is_email_verified
70+
from supertokens_python.recipe.emailverification.asyncio import unverify_email
7171

72-
return sync(is_email_verified(user_id, email, user_context))
72+
return sync(unverify_email(user_id, email, user_context))
7373

7474

7575
def send_email(

0 commit comments

Comments
 (0)