Skip to content

Commit

Permalink
reformat: re-order if-conditions in AtClientValidation.validatePutReq…
Browse files Browse the repository at this point in the history
…uest()
  • Loading branch information
srieteja committed Oct 13, 2023
1 parent ed4b645 commit 27600db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AtClientConfig {

/// Represents the at_client version.
/// Must always be the same as the actual version in pubspec.yaml
final String atClientVersion = '3.0.65';
final String atClientVersion = '3.0.66';

/// Represents the client commit log compaction time interval
///
Expand Down
4 changes: 2 additions & 2 deletions packages/at_client/lib/src/util/at_client_validation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ class AtClientValidation {
}
// If namespace is not set on key and in preferences, throw exception
if ((atKey.namespace == null || atKey.namespace!.isEmpty) &&
!atKey.isLocal &&
(atClientPreference.namespace == null ||
atClientPreference.namespace!.isEmpty) &&
!atKey.isLocal) {
atClientPreference.namespace!.isEmpty)) {
throw AtKeyException('namespace is mandatory');
}
// validate metadata
Expand Down
2 changes: 1 addition & 1 deletion packages/at_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: The at_client library is the non-platform specific Client SDK which
##
##
## NB: When incrementing the version, please also increment the version in AtClientConfig file
version: 3.0.65
version: 3.0.66
## NB: When incrementing the version, please also increment the version in AtClientConfig file
##

Expand Down

0 comments on commit 27600db

Please sign in to comment.