source: client_app/src/repository/search_repo.js@ 580ba1a

Last change on this file since 580ba1a was 580ba1a, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

register and edit

  • Property mode set to 100644
File size: 555 bytes
Line 
1import axios from '../custom_axios/axios';
2
3const JobSearch = {
4 job: (text) => {
5 return axios.get("/search/job", {
6 params: {
7 "text": text
8 }
9 });
10 },
11 internship: (text) => {
12 return axios.get("/search/internship", {
13 params: {
14 "text": text
15 }
16 });
17 },
18 project: (text) => {
19 return axios.get("/search/project", {
20 params: {
21 "text": text
22 }
23 });
24 },
25}
26
27export default JobSearch;
Note: See TracBrowser for help on using the repository browser.