mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 03:56:24 +00:00
Remove some debug messages
This commit is contained in:
parent
2886f7c930
commit
e9fa0f5eb4
2 changed files with 2 additions and 8 deletions
|
|
@ -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
|
|
@ -1 +1 @@
|
||||||
Subproject commit ef5ca26effc8b203a0f49c0fd50afdc8ef2cc3aa
|
Subproject commit 603e0420a44996270e7cc29b278d8bdbf931e5c4
|
||||||
Loading…
Add table
Add a link
Reference in a new issue