Skip to content
Snippets Groups Projects
Verified Commit 45fe44bc authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Remove return, change return type.

parent ccdcb3d4
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!67Insert a reservation and search by senior.
...@@ -3,5 +3,4 @@ import { InsertReservationType } from 'types/InsertReservationType'; ...@@ -3,5 +3,4 @@ import { InsertReservationType } from 'types/InsertReservationType';
export const setReservation = async ( export const setReservation = async (
reservation: InsertReservationType, reservation: InsertReservationType,
): Promise<any> => ): Promise<void> => axios.post('/api/web/reservations/', reservation);
axios.post('/api/web/reservations/', reservation).then((res) => res);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment