From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/freshdesk/package.json | 2 +- recipes/freshdesk/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/freshdesk') diff --git a/recipes/freshdesk/package.json b/recipes/freshdesk/package.json index 0fc9faa..d47554c 100644 --- a/recipes/freshdesk/package.json +++ b/recipes/freshdesk/package.json @@ -1,7 +1,7 @@ { "id": "freshdesk", "name": "Freshdesk", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "repository": "https://github.com/fisknils/recipe-freshdesk", "config": { diff --git a/recipes/freshdesk/webview.js b/recipes/freshdesk/webview.js index 884bfb6..e1911d0 100644 --- a/recipes/freshdesk/webview.js +++ b/recipes/freshdesk/webview.js @@ -1,5 +1,5 @@ module.exports = Ferdi => { - const getMessages = function getMessages() { + const getMessages = () => { $.get('/api/_/tickets?filter=unresolved', (data) => { Ferdi.setBadge(data.tickets.length); }); -- cgit v1.2.3-54-g00ecf