From 9b4ba92df514ca8c5c92c4f9279144e2c9d49e36 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> Date: Wed, 11 Nov 2020 11:13:48 -0800 Subject: [TMA-383] Added report button moment (#114) * Added button on individual moment page to report an issue * Report issue button disappears when clicked on and reappears when alert is closed * Small change * Moved sendReport() to a ReportingService * following user's report button now appears * Update ReportingService.ts Added alert * Added back report button * moved button back to the bottom * Small change Co-authored-by: Ashm Walia Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com> --- src/constants/api.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/constants') diff --git a/src/constants/api.ts b/src/constants/api.ts index f69ef943..eac529c4 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -21,6 +21,7 @@ export const FOLLOW_USER_ENDPOINT: string = API_URL + 'follow/'; export const UNFOLLOW_USER_ENDPOINT: string = API_URL + 'unfollow/'; export const FOLLOWERS_ENDPOINT: string = API_URL + 'followers/'; export const FOLLOWING_ENDPOINT: string = API_URL + 'following/'; +export const REPORT_ISSUE_ENDPOINT: string = API_URL + 'report/'; export const BLOCK_USER_ENDPOINT: string = API_URL + 'block/'; // Register Social Link (Non-integrated) -- cgit v1.2.3-70-g09d2