[FIX] hw_posbox_homepage: In iot, remove sending an unused variable

In iot, when we send a request to
the route '/hw_posbox_homepage/password' we pass a variable which is unused.
And which therefore causes a warning in the iot logs.
This commit removes the query parameter.

closes odoo/odoo#151604

X-original-commit: f713d48f6393e58cf9c4b5fe08e1407ea2be8513
Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com>
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
lejeune quentin
2024-01-29 23:16:20 +00:00
parent dca2921252
commit 46d94c4bda
@@ -32,7 +32,7 @@
url:'/hw_posbox_homepage/password',
type: 'post',
contentType: 'application/json',
data: JSON.stringify({ params: {action: 'view'} }),
data: JSON.stringify({}),
}).done(function(password) {
$('.password').val(password['result']);
});