Skip to content

Commit

Permalink
fix data missing and case name function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekiro-kost committed Jul 12, 2024
1 parent adc3a58 commit acdffee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/ajax/luna.ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
if(empty($pin)){
ajax::error('Le code PIN est vide');
}
$return = luna::waitLuna('unlockSIM', $pin);
$return = luna::waitLuna('unlockSim', $pin);
if($return){
ajax::success();
}
Expand Down
2 changes: 1 addition & 1 deletion desktop/js/lte.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $('#bt_saveLTE').off('click').on('click', function(event) {
error: function(request, status, error) {
handleAjaxError(request, status, error);
},
success: function() {
success: function(data) {
if (data.state != 'ok') {
$('#div_alert').showAlert({ message: data.result, level: 'danger' });
} else {
Expand Down

0 comments on commit acdffee

Please sign in to comment.