mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 19:38:56 +03:30
better name convention
This commit is contained in:
@@ -144,16 +144,16 @@ class PackageProvider extends ChangeNotifier {
|
||||
items,
|
||||
note,
|
||||
) async {
|
||||
List<Map<String, dynamic>> itms = [];
|
||||
List<Map<String, dynamic>> items = [];
|
||||
for (var item in items) {
|
||||
itms.add({'id': item});
|
||||
items.add({'id': item});
|
||||
}
|
||||
var response = await http.post(
|
||||
Uri.parse(Url.createPackageResult),
|
||||
body: json.encode(
|
||||
{
|
||||
'note': note,
|
||||
'items': itms,
|
||||
'items': items,
|
||||
'name': name,
|
||||
// 'package_id': udi,
|
||||
},
|
||||
@@ -167,6 +167,7 @@ class PackageProvider extends ChangeNotifier {
|
||||
);
|
||||
|
||||
print(response.body);
|
||||
print(response.statusCode);
|
||||
}
|
||||
|
||||
Future<void> updatePackageResult(
|
||||
|
||||
Reference in New Issue
Block a user