Skip to content

Commit

Permalink
add platform configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekiro-kost committed Oct 14, 2024
1 parent 41bf1c8 commit ce96a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/api/mobile.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function saveMenuFromAppV2($menu, $mobile) {
if (!is_object($mobile)) {
$mobile = createMobile($params, 3);
}
$mobile->setConfiguration('type_mobile', $notification['platform']);
if (isset($notification['token'])) {
if ($notification['token'] != '') {
log::add('mobile', 'debug', '| Token à ajouter > ' . $notification['token']);
Expand Down

0 comments on commit ce96a1e

Please sign in to comment.