Skip to content
Snippets Groups Projects

Replace context with api.

Merged Defendi Alberto requested to merge api/reservation-senior-search into dev
10 files
+ 135
77
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 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