2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-12 12:13:01 +00:00

Remove some debug messages

This commit is contained in:
Oliver 2021-10-03 01:21:27 +10:00
parent 2886f7c930
commit e9fa0f5eb4
2 changed files with 2 additions and 8 deletions

View File

@ -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:

@ -1 +1 @@
Subproject commit ef5ca26effc8b203a0f49c0fd50afdc8ef2cc3aa Subproject commit 603e0420a44996270e7cc29b278d8bdbf931e5c4