Add /api/location endpoint
This commit is contained in:
8
src/router/location.rs
Normal file
8
src/router/location.rs
Normal file
@ -0,0 +1,8 @@
|
||||
use json::{object, JsonValue};
|
||||
use actix_web::{HttpRequest};
|
||||
|
||||
pub fn location(_req: HttpRequest) -> Option<JsonValue> {
|
||||
Some(object!{
|
||||
"master_location_ids": []
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user