Skip to content

Backend: Reward API作成#47

Merged
TomoyaHirano merged 4 commits intomainfrom
feature/reward
Nov 24, 2020
Merged

Backend: Reward API作成#47
TomoyaHirano merged 4 commits intomainfrom
feature/reward

Conversation

@yu-kaburagi
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@TomoyaHirano TomoyaHirano left a comment

Choose a reason for hiding this comment

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

ご確認をお願いします。

let todayPost = 0; // 本日日付のpost有無判定

// ループ開始
for (let i = 0; i < data.length; i += 1) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

直近5日分で
投稿、投稿、投稿、未投稿、投稿
の場合(過去→現在の順で表記)、連続投稿1とならなさそうにみえます。(ループをブレイクしないといけない?)

Copy link
Copy Markdown
Contributor

@TomoyaHirano TomoyaHirano left a comment

Choose a reason for hiding this comment

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

確認しました。

@TomoyaHirano TomoyaHirano merged commit 183e75b into main Nov 24, 2020
@TomoyaHirano TomoyaHirano deleted the feature/reward branch November 24, 2020 09:32
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