Skip to content

Commit

Permalink
fix(partner): modify payload - url in sendEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
whalekiller03 committed Jun 26, 2024
1 parent 61e764b commit f64e6b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion redux/actions/partners.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function sendEmailToPartner(payload) {
payload: {
from,
userId, //寄件者id
url: BASE_URL,
url: location.origin,
to, // 收件者信箱
subject: '【島島阿學】點開 Email,認識新夥伴',
title: '有新夥伴想認識你!',
Expand Down
1 change: 0 additions & 1 deletion redux/sagas/partnersSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ function* fetchPartnerTags() {
try {
const URL = `${BASE_URL}/tag`;
const result = yield fetch(URL).then((res) => res.json());
console.log(result);
yield put({ type: 'FETCH_PARTNER_TAGS_SUCCESS', payload: result });
} catch (e) {
yield put({ type: 'FETCH_PARTNER_TAGS_FAILURE' });
Expand Down

0 comments on commit f64e6b2

Please sign in to comment.