Skip to content

Commit 7772d3d

Browse files
Sync creds: use SHARED_SECRET_SIPPED instead of SHARED_SECRET #99
1 parent ddf23f5 commit 7772d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objectbox/lib/src/native/sync.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ class SyncCredentials {
2929

3030
/// Shared secret authentication.
3131
SyncCredentials.sharedSecretUint8List(this._data)
32-
: _type = OBXSyncCredentialsType.SHARED_SECRET;
32+
: _type = OBXSyncCredentialsType.SHARED_SECRET_SIPPED;
3333

3434
/// Shared secret authentication.
3535
SyncCredentials.sharedSecretString(String data)
36-
: this._(OBXSyncCredentialsType.SHARED_SECRET, data);
36+
: this._(OBXSyncCredentialsType.SHARED_SECRET_SIPPED, data);
3737

3838
/// Google authentication.
3939
SyncCredentials.googleAuthUint8List(this._data)

0 commit comments

Comments
 (0)