mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-27 01:10:44 +00:00
Remove some debug messages
This commit is contained in:
@ -343,7 +343,7 @@ class APIFormField {
|
|||||||
FilePickerDialog.pickFile(
|
FilePickerDialog.pickFile(
|
||||||
message: L10().attachmentSelect,
|
message: L10().attachmentSelect,
|
||||||
onPicked: (file) {
|
onPicked: (file) {
|
||||||
print("${file.path}");
|
// print("${file.path}");
|
||||||
// Display the filename
|
// Display the filename
|
||||||
controller.text = file.path.split("/").last;
|
controller.text = file.path.split("/").last;
|
||||||
|
|
||||||
@ -1089,9 +1089,6 @@ class _APIFormWidgetState extends State<APIFormWidget> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Submitting form data to server:");
|
|
||||||
print(data.toString());
|
|
||||||
|
|
||||||
final response = await _submit(data);
|
final response = await _submit(data);
|
||||||
|
|
||||||
if (!response.isValid()) {
|
if (!response.isValid()) {
|
||||||
@ -1099,9 +1096,6 @@ class _APIFormWidgetState extends State<APIFormWidget> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Response: ${response.statusCode}");
|
|
||||||
print(response.data.toString());
|
|
||||||
|
|
||||||
switch (response.statusCode) {
|
switch (response.statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
case 201:
|
case 201:
|
||||||
|
2
lib/l10n
2
lib/l10n
Submodule lib/l10n updated: ef5ca26eff...603e0420a4
Reference in New Issue
Block a user