frontend is_starred and description support

This commit is contained in:
muerwre 2019-03-29 10:54:20 +07:00
parent a4b620471a
commit c040e33a8a
11 changed files with 103 additions and 26 deletions

View file

@ -307,7 +307,7 @@ function* clearSaga({ type }) {
}
function* sendSaveRequestSaga({
title, address, force, is_public
title, address, force, is_public, description,
}: ReturnType<typeof ActionCreators.sendSaveRequest>) {
if (editor.isEmpty) return yield put(setSaveError(TIPS.SAVE_EMPTY));
@ -319,7 +319,7 @@ function* sendSaveRequestSaga({
const { result, timeout, cancel } = yield race({
result: postMap({
id, token, route, stickers, title, force, address, logo, distance, provider, is_public
id, token, route, stickers, title, force, address, logo, distance, provider, is_public, description,
}),
timeout: delay(10000),
cancel: take(ACTIONS.RESET_SAVE_DIALOG),