update reports endpoint.

This commit is contained in:
Thomas Zarebczan 2022-02-09 15:06:38 -05:00
parent 5c028fea7f
commit f943affb19
No known key found for this signature in database
GPG key ID: D505010BDB4364BC
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
// Sample query: // Sample query:
// https://reports.lbry.com/common/new?primary_email=e4drcf@gmail.com // https://reports.odysee.tv/common/new?primary_email=e4drcf@gmail.com
// &channel_name=e4drcf // &channel_name=e4drcf
// &channel_claim_id=43a7e08b0d83cfb8bc31e59bc48334a90ccfd8cb // &channel_claim_id=43a7e08b0d83cfb8bc31e59bc48334a90ccfd8cb
// &type=Sexual%20content // &type=Sexual%20content

View file

@ -12,13 +12,13 @@ export const doReportContent = (category: string, params: string) => (dispatch:
let REPORT_URL; let REPORT_URL;
switch (category) { switch (category) {
case COPYRIGHT_ISSUES: case COPYRIGHT_ISSUES:
REPORT_URL = 'https://reports.lbry.com/copyright_issue/new'; REPORT_URL = 'https://reports.odysee.tv/copyright_issue/new';
break; break;
case OTHER_LEGAL_ISSUES: case OTHER_LEGAL_ISSUES:
REPORT_URL = 'https://reports.lbry.com/other_legal_issue/new'; REPORT_URL = 'https://reports.odysee.tv/other_legal_issue/new';
break; break;
default: default:
REPORT_URL = 'https://reports.lbry.com/common/new'; REPORT_URL = 'https://reports.odysee.tv/common/new';
break; break;
} }