Skip to content
Snippets Groups Projects

Replace context with api.

Merged Defendi Alberto requested to merge api/reservation-senior-search into dev
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
 
import axios from 'axios';
 
 
export const getSeniorList = async (name: string): Promise<string[]> =>
 
axios.get(`/api/web/seniors/by_name/${name}`).then((res) => res.data);
Loading