Skip to content

Commit

Permalink
chore(cloud_auth): Remove some leftover print statements (#221)
Browse files Browse the repository at this point in the history
Clean up from debugging
  • Loading branch information
dnys1 authored Oct 15, 2024
1 parent 0e831d8 commit 5fa2e2a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ And to stay up-to-date on the future of Celest, including full server-side rende
To get started with Celest, you'll need to configure your development environment so that you have Flutter and the Celest CLI installed on your machine.

1. Install [Flutter](https://docs.flutter.dev/get-started/install) from the official website
3. [Download](https://celest.dev/download) and install the Celest CLI
2. [Download](https://celest.dev/download) and install the Celest CLI

### Creating a project

Expand Down
4 changes: 4 additions & 0 deletions services/celest_cloud_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0+1

- chore: Remove some leftover print statements

## 0.1.0

- Initial release.
12 changes: 6 additions & 6 deletions services/celest_cloud_auth/lib/src/database/auth_database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ class AuthDatabase extends $AuthDatabase {
});
}
});
// _logger.finest(() {
// });
final policyIds = policySet.policies.entries
.map((pol) => pol.value.id ?? pol.key)
.sorted();
print('Effective policies: $policyIds');
_logger.finest(() {
final policyIds = policySet.policies.entries
.map((pol) => pol.value.id ?? pol.key)
.sorted();
return 'Effective policies: $policyIds';
});
return policySet;
}

Expand Down
4 changes: 1 addition & 3 deletions services/celest_cloud_auth/lib/src/model/route_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ extension type const RouteMap(Map<EntityUid, Route> _routes)
}) {
final collector = _RouteCollector();
project.accept(collector);
final routeMap = RouteMap({
return RouteMap({
...collector._routes,
...additionalRoutes,
});
print(routeMap);
return routeMap;
}
}

Expand Down
2 changes: 1 addition & 1 deletion services/celest_cloud_auth/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: celest_cloud_auth
description: A Dart-native authentication and authorization service built on Celest, Cedar, and SQLite.
version: 0.1.0
version: 0.1.0+1
homepage: https://celest.dev
repository: https://github.com/celest-dev/celest/tree/main/services/celest_cloud_auth

Expand Down

0 comments on commit 5fa2e2a

Please sign in to comment.