Skip to content

Commit

Permalink
fix: create new event
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed May 29, 2024
1 parent 8c00632 commit 99c7962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/logic/persistence_logic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class PersistenceLogic {
}) async {
try {
final now = DateTime.now();
final id = uuid.v5(Uuid.NAMESPACE_NIL, json.encode(data));
final id = uuid.v1();
final vc = await _vectorClockService.getNextVectorClock();

final journalEvent = JournalEvent(
Expand Down Expand Up @@ -736,7 +736,6 @@ class PersistenceLogic {
required EventData data,
EntryText? entryText,
}) async {
debugPrint('updateEvent $data $entryText');
try {
final now = DateTime.now();
final journalEntity = await _journalDb.journalEntityById(journalEntityId);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: lotti
description: Achieve your goals and keep your data private with Lotti.
publish_to: 'none'
version: 0.9.469+2536
version: 0.9.469+2537

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit 99c7962

Please sign in to comment.