anitab-org / anitab-org/mentorship-backend

bug: A user is able to send multiple relation requests to the same member

オープン
#866 コメント 8 件 リアクション 0 件 担当者 1 名 @decon-harsh が担当を希望しています GitHub で見る
Category: Coding Type: Bug
主要言語
Python
スター
200
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**
A user is able to send multiple relation requests to the same member. Ideally, if a request has already been sent to a member, the backend should return that as a message for a duplicate request to the same member.

**To Reproduce**
Steps to reproduce the behavior:

1. Use send request API on the same user multiple times
2. See all of them succeeding (and also in sent relation requests)

**Expected behavior**
Ideally, if a request has already been sent to a member, the backend should return that as a message for a duplicate request to the same member.

**Screenshots**
Received multiple requests from the same user. Accepted one of them, and then cancelled. Old requests still stay. The complete UX flow can probably be fixed by doing a check for already sent requests and not allowing duplicate requests.
image

**Smartphone (please complete the following information):**
- Device: iPhone
- OS: iOS 13.6
- Discovered using Mentorship iOS app

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。