Some checks failed
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/bump_version Pipeline failed
16 lines
402 B
Dart
16 lines
402 B
Dart
import 'package:logging/logging.dart';
|
|
|
|
import 'package:pshared/service/services.dart';
|
|
import 'package:pshared/utils/http/requests.dart';
|
|
|
|
|
|
class VerificationService {
|
|
static final _logger = Logger('VerificationService');
|
|
|
|
static Future<bool> verify(String token) async {
|
|
_logger.fine('Verifying token...');
|
|
await getGETResponse(Services.account, '/verify/$token');
|
|
return true;
|
|
}
|
|
}
|