diff --git a/frontend/pshared/lib/service/verification.dart b/frontend/pshared/lib/service/verification.dart index 082b1d1..6f4b6d4 100644 --- a/frontend/pshared/lib/service/verification.dart +++ b/frontend/pshared/lib/service/verification.dart @@ -13,7 +13,7 @@ import 'package:pshared/utils/http/requests.dart'; class VerificationService { static final _logger = Logger('service.verification'); - static const String _objectType = Services.account; + static const String _objectType = Services.confirmations; static Future requestLoginCode(PendingLogin pending, {String? destination}) async { _logger.fine('Requesting login confirmation code'); diff --git a/frontend/pweb/lib/services/verification.dart b/frontend/pweb/lib/services/verification.dart index 525975b..70227ee 100644 --- a/frontend/pweb/lib/services/verification.dart +++ b/frontend/pweb/lib/services/verification.dart @@ -4,7 +4,6 @@ import 'package:pshared/service/services.dart'; import 'package:pshared/utils/http/requests.dart'; - class VerificationService { static final _logger = Logger('VerificationService');