From 0ccc8ca809d4cff3903b873eb3e22aff8055c3d0 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 2 Jan 2017 15:42:53 -0500 Subject: [PATCH 1/2] Report: fix imports --- js/page/report.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/page/report.js b/js/page/report.js index 72eedf1a1..6cac655a7 100644 --- a/js/page/report.js +++ b/js/page/report.js @@ -1,4 +1,6 @@ import React from 'react'; +import {Link} from '../component/link.js'; +import Modal from '../component/modal.js'; import lbry from '../lbry.js'; var ReportPage = React.createClass({ From ff61fbbf7accf7800908636412ca5b193d81523a Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 2 Jan 2017 15:43:34 -0500 Subject: [PATCH 2/2] Update lbry.reportBug() to use new report_bug daemon method --- js/lbry.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/lbry.js b/js/lbry.js index e7a7dbd7a..5dbf338ae 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -386,10 +386,7 @@ lbry.getSessionInfo = function(callback) { } lbry.reportBug = function(message, callback) { - lbry.call('upload_log', { - name_prefix: 'report', - exclude_previous: false, - force: true, + lbry.call('report_bug', { message: message }, callback); }