Plugin Directory

Changeset 3770292


Ignore:
Timestamp:
10/28/2026 09:20:26 AM (21 hours ago)
Author:
snappbox
Message:

fix nearby

Location:
snappbox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • snappbox/tags/1.2.1/snappbox.php

    r3739445 r3770292  
    179179        wp_send_json_error(['message' => __('Your location is NOT supported by SnappBox', 'snappbox')]);
    180180    } else {
    181         snappbox_store_city($lat, $lng);
     181        wp_send_json_success();
     182
    182183    }
    183184}
  • snappbox/trunk/includes/api/pricing-class.php

    r3763156 r3770292  
    115115            "waitingTime" => 10
    116116        ];
    117 
     117       
    118118        $response = \wp_remote_post($this->apiUrl, [
    119119            'method'  => 'POST',
  • snappbox/trunk/snappbox.php

    r3739455 r3770292  
    179179        wp_send_json_error(['message' => __('Your location is NOT supported by SnappBox', 'snappbox')]);
    180180    } else {
    181         snappbox_store_city($lat, $lng);
     181        wp_send_json_success();
     182
    182183    }
    183184}
Note: See TracChangeset for help on using the changeset viewer.