Skip to content

Commit

Permalink
Merge pull request #197 from appwrite/dev
Browse files Browse the repository at this point in the history
fix changelog
  • Loading branch information
lohanidamodar authored Apr 25, 2024
2 parents 7186e87 + 3080973 commit 895c671
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 12.0.2

* Fixed realtime multiple subscription issues

## 12.0.1

* Fixed parameters using enum types
Expand Down
6 changes: 3 additions & 3 deletions lib/services/account.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Account extends Service {
///
/// Add an authenticator app to be used as an MFA factor. Verify the
/// authenticator using the [verify
/// authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator)
/// authenticator](/docs/references/cloud/client-web/account#updateMfaAuthenticator)
/// method.
Future<models.MfaType> createMfaAuthenticator({required enums.AuthenticatorType type}) async {
final String apiPath = '/account/mfa/authenticators/{type}'.replaceAll('{type}', type.value);
Expand All @@ -209,8 +209,8 @@ class Account extends Service {
/// Verify Authenticator
///
/// Verify an authenticator app after adding it using the [add
/// authenticator](/docs/references/cloud/client-web/account#addAuthenticator)
/// method.
/// authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator)
/// method. add
Future<models.User> updateMfaAuthenticator({required enums.AuthenticatorType type, required String otp}) async {
final String apiPath = '/account/mfa/authenticators/{type}'.replaceAll('{type}', type.value);

Expand Down
1 change: 1 addition & 0 deletions lib/src/enums/flag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ enum Flag {
palau(value: 'pw'),
papuaNewGuinea(value: 'pg'),
poland(value: 'pl'),
frenchPolynesia(value: 'pf'),
northKorea(value: 'kp'),
portugal(value: 'pt'),
paraguay(value: 'py'),
Expand Down

0 comments on commit 895c671

Please sign in to comment.