Add SiteRepository for habitat/zone related requests
This commit is contained in:
parent
42bd5845fa
commit
71b4118b4c
1 changed files with 11 additions and 0 deletions
11
frontend/src/repository/SiteRepository.js
Normal file
11
frontend/src/repository/SiteRepository.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import Repository from "./Repository";
|
||||
|
||||
const SiteRepository = {
|
||||
|
||||
getHabitats() {
|
||||
return Repository.get(`/habitats/`);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default SiteRepository;
|
Loading…
Reference in a new issue