Island: Fix incorrect type hint in AuthenticationService

This commit is contained in:
Mike Salvatore 2022-04-26 02:18:43 -04:00
parent c16705241a
commit 3d931b11f9
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
from pathlib import Path
import bcrypt
from common.utils.exceptions import (
@ -23,7 +25,7 @@ class AuthenticationService:
# static/singleton hybrids. At the moment, this requires invasive refactoring that's
# not a priority.
@classmethod
def initialize(cls, data_dir: str, user_datastore: IUserDatastore):
def initialize(cls, data_dir: Path, user_datastore: IUserDatastore):
cls.DATA_DIR = data_dir
cls.user_datastore = user_datastore