besprechung
This commit is contained in:
@@ -4,7 +4,7 @@ import 'package:fforte/methods/excursion_db_helper.dart';
|
||||
import 'package:fforte/methods/place_db_helper.dart';
|
||||
|
||||
class SaveMainEntryMethod {
|
||||
static void saveEntry({
|
||||
static Future<int> saveEntry({
|
||||
required Map<String, String> entryData,
|
||||
required bool isTemplate,
|
||||
required DatabasesEnum dbType,
|
||||
@@ -34,5 +34,7 @@ class SaveMainEntryMethod {
|
||||
placeDB.updateSent(entryId); // Update 'Sent' using the correct ID
|
||||
}
|
||||
|
||||
return entryId;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user