package com.example.elva.data.remote

import com.example.elva.data.remote.model.NearbyUserDto
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Query

interface LocationApi {
    @GET("/api/v1/nearby-users")
    suspend fun getNearbyUsers(
        @Header("Authorization") token: String,
        @Query("latitude") latitude: Double,
        @Query("longitude") longitude: Double
    ): List<NearbyUserDto>
}

