Add /api/location endpoint

This commit is contained in:
Ethan O'Brien
2024-06-03 17:20:22 -05:00
parent 1106ee89ba
commit f913f38b70
3 changed files with 10 additions and 0 deletions

8
src/router/location.rs Normal file
View 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": []
})
}