Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TAS-3074] ✨ Store epub currentCfi on db #2031

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

williamchong
Copy link
Member

No description provided.

@williamchong williamchong requested review from nwingt, AuroraHuang22 and a team January 23, 2025 11:04
Copy link

儲存閱讀進度到 db

@williamchong williamchong force-pushed the feature/book branch 2 times, most recently from 8e11b97 to cd589ad Compare January 23, 2025 13:41
@williamchong williamchong force-pushed the feature/book branch 3 times, most recently from 204b97c to 4fb3c30 Compare January 23, 2025 16:32
@williamchong williamchong marked this pull request as ready for review January 23, 2025 17:30
@williamchong williamchong force-pushed the feature/book branch 2 times, most recently from d1d579b to b48a252 Compare February 1, 2025 07:41
const { class_id: classId, nft_id: nftId, index } = req.query;
const { currentCfi } = req.body;
if (!classId || !nftId || !index) {
res.status(400).send('MISSING_PARAMS');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
res.status(400).send('MISSING_PARAMS');
return res.status(400).send('MISSING_PARAMS');

res.status(400).send('MISSING_PARAMS');
}
if (!currentCfi) {
res.status(400).send('MISSING_BODY');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
res.status(400).send('MISSING_BODY');
return res.status(400).send('MISSING_BODY');

@williamchong williamchong merged commit 9b083e5 into likecoin:develop Feb 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants