Feature: Gassi-Hundefotos bei Teilnehmern + Fotos nach dem Treffen (SW by-v878)
This commit is contained in:
parent
b6a644ac3a
commit
44ba51cd38
8 changed files with 230 additions and 20 deletions
|
|
@ -346,6 +346,9 @@ const API = (() => {
|
|||
invite(id, friendId) { return post(`/walks/${id}/invite`, { friend_id: friendId }); },
|
||||
rsvp(id, status) { return post(`/walks/${id}/rsvp`, { status }); },
|
||||
participants(id) { return get(`/walks/${id}/participants`); },
|
||||
photos(id) { return get(`/walks/${id}/photos`); },
|
||||
uploadPhoto(id, formData) { return upload(`/walks/${id}/photos`, formData); },
|
||||
deletePhoto(id, photoId) { return del(`/walks/${id}/photos/${photoId}`); },
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue