//
//  LNHttpManager+Location.swift
//  Lanu
//
//  Created by OneeChan on 2025/12/25.
//

import Foundation


private let kNetPath_Location_Upload = "/user/report/location"

extension LNHttpManager {
    func uploadLocation(longitude: Double, latitude: Double, completion: @escaping (LNHttpError?) -> Void) {
        post(path: kNetPath_Location_Upload, params: [
            "latitude": latitude,
            "longitude": longitude
        ], completion: completion)
    }
}
