fixed modal_setting_notify api

このコミットが含まれているのは:
dragon1211 2021-12-19 18:43:06 -08:00
コミット 15d6cdc3a8
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -43954,7 +43954,7 @@ function ModalSettingNotify(_ref) {
var formdata = new FormData();
formdata.append('email', JSON.stringify(new Array(email)));
formdata.append('meeting_id', meetingId);
axios__WEBPACK_IMPORTED_MODULE_1___default().post('/api/fathers/meetingNotification ', formdata).then(function (response) {
axios__WEBPACK_IMPORTED_MODULE_1___default().post('/api/fathers/meetingNotification', formdata).then(function (response) {
switch (response.data.status_code) {
case 200:
setSuccess('通知に成功しました!');

ファイルの表示

@ -60,7 +60,7 @@ export default function ModalSettingNotify({show, handleClose, meetingId}){
const formdata = new FormData();
formdata.append('email', JSON.stringify(new Array(email)));
formdata.append('meeting_id', meetingId);
axios.post('/api/fathers/meetingNotification ', formdata)
axios.post('/api/fathers/meetingNotification', formdata)
.then(response=>{
switch(response.data.status_code){
case 200: setSuccess('通知に成功しました!'); break;