added uptime monitoring
This commit is contained in:
@@ -130,6 +130,9 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
|
||||
if (prefs.getString("workspaceId") == null) {
|
||||
prefs.setString("workspaceId", Uuid().v4());
|
||||
}
|
||||
if (prefs.getString("userId") == null) {
|
||||
prefs.setString("userId", Uuid().v4());
|
||||
}
|
||||
|
||||
await homeController.getTransactions(prefs.getString("workspaceId")!);
|
||||
}
|
||||
@@ -168,6 +171,9 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
|
||||
if (prefs.getString("workspaceId") == null) {
|
||||
prefs.setString("workspaceId", Uuid().v4());
|
||||
}
|
||||
if (prefs.getString("userId") == null) {
|
||||
prefs.setString("userId", Uuid().v4());
|
||||
}
|
||||
|
||||
await homeController.getTransactions(prefs.getString("workspaceId")!);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user