From bcee5526647a1b3a597ed7a68ba98165aca2876c Mon Sep 17 00:00:00 2001 From: octavioamu Date: Wed, 17 Jul 2019 10:32:39 -0300 Subject: [PATCH] change to const --- app/assets/v2/js/pages/bounty_share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/v2/js/pages/bounty_share.js b/app/assets/v2/js/pages/bounty_share.js index 813ffebdda0..fa7a47099e8 100644 --- a/app/assets/v2/js/pages/bounty_share.js +++ b/app/assets/v2/js/pages/bounty_share.js @@ -21,7 +21,7 @@ $('.modal-link').click(function(e) { const sendInvites = (users) => { let usersId = []; let msg = $('#shareText').val(); - let bountyId = document.result.pk; + const bountyId = document.result.pk; $.each(users, function(index, elem) { usersId.push(elem.id);