diff --git a/lnbits/extensions/copilot/templates/copilot/compose.html b/lnbits/extensions/copilot/templates/copilot/compose.html index 7c2e25002..33bffda32 100644 --- a/lnbits/extensions/copilot/templates/copilot/compose.html +++ b/lnbits/extensions/copilot/templates/copilot/compose.html @@ -107,7 +107,6 @@ }) }, openURL: function (url) { - console.log(url) return Quasar.utils.openURL(url) }, initCamera() { @@ -147,7 +146,6 @@ }, launch() { self = this - console.log('poo') LNbits.api .request( 'GET', @@ -172,7 +170,6 @@ created: function () { self = this self.copilot = JSON.parse(localStorage.getItem('copilot')) - console.log(localStorage.getItem('inkey')) LNbits.api .request( 'GET', @@ -194,8 +191,6 @@ }) this.connectionBitStamp.onmessage = function (e) { - console.log(JSON.parse(e.data).data.price) - console.log(self.copilot) if (self.copilot.show_price) { if (self.copilot.show_price == 'btcusd') { self.price = String( @@ -259,7 +254,6 @@ } this.connection = new WebSocket(localUrl) this.connection.onmessage = function (e) { - console.log(e.data) res = e.data.split('-') if (res[0] == 'rocket') { addTask(['40%', '/copilot/static/rocket.gif', res[1]]) diff --git a/lnbits/extensions/copilot/templates/copilot/index.html b/lnbits/extensions/copilot/templates/copilot/index.html index 4dbf79a4b..3cf71e756 100644 --- a/lnbits/extensions/copilot/templates/copilot/index.html +++ b/lnbits/extensions/copilot/templates/copilot/index.html @@ -478,7 +478,6 @@ }, sendFormDataCopilot: function () { var self = this - console.log(self.formDialogCopilot.data.animation1threshold) if (self.formDialogCopilot.data.id) { this.updateCopilot( self.g.user.wallets[0].adminkey, @@ -500,7 +499,6 @@ updatedData[property] = data[property] } if (property == 'animation1threshold' && data[property]) { - console.log(data[property]) updatedData[property] = parseInt(data[property]) } if (property == 'animation2threshold' && data[property]) { @@ -510,7 +508,6 @@ updatedData[property] = parseInt(data[property]) } } - console.log(updatedData) LNbits.api .request('POST', '/copilot/api/v1/copilot', wallet, updatedData) .then(function (response) { @@ -595,13 +592,11 @@ updateCopilot: function (wallet, data) { var self = this var updatedData = {} - console.log(data) for (const property in data) { if (data[property]) { updatedData[property] = data[property] } if (property == 'animation1threshold' && data[property]) { - console.log(data[property]) updatedData[property] = parseInt(data[property]) } if (property == 'animation2threshold' && data[property]) { @@ -611,7 +606,6 @@ updatedData[property] = parseInt(data[property]) } } - console.log(updatedData) LNbits.api .request( diff --git a/lnbits/extensions/copilot/templates/copilot/panel.html b/lnbits/extensions/copilot/templates/copilot/panel.html index 59814d3e7..904ab104b 100644 --- a/lnbits/extensions/copilot/templates/copilot/panel.html +++ b/lnbits/extensions/copilot/templates/copilot/panel.html @@ -118,7 +118,6 @@ }, fullscreenToggle: function () { self = this - console.log(this.fullscreen_cam) self.animationBTN(String(this.fullscreen_cam)) if (this.fullscreen_cam) { this.fullscreen_cam = false diff --git a/lnbits/extensions/copilot/views.py b/lnbits/extensions/copilot/views.py index 3047deecc..ef313a61a 100644 --- a/lnbits/extensions/copilot/views.py +++ b/lnbits/extensions/copilot/views.py @@ -40,7 +40,6 @@ connected_websockets = defaultdict(set) @copilot_ext.websocket("/ws//") async def wss(id): copilot = await get_copilot(id) - print(copilot) if not copilot: return "", HTTPStatus.FORBIDDEN global connected_websockets diff --git a/lnbits/extensions/copilot/views_api.py b/lnbits/extensions/copilot/views_api.py index 9b779bc83..bf3b4eb75 100644 --- a/lnbits/extensions/copilot/views_api.py +++ b/lnbits/extensions/copilot/views_api.py @@ -45,7 +45,6 @@ from .crud import ( } ) async def api_copilot_create_or_update(copilot_id=None): - print("dfbad") if not copilot_id: copilot = await create_copilot(user=g.wallet.user, **g.data) return jsonify(copilot._asdict()), HTTPStatus.CREATED