You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/10/14 18:49:18 UTC
[whimsy] branch master updated: try including credentials
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new a94ecea try including credentials
a94ecea is described below
commit a94ecea0c20a287528741981dd565f0b9af611d2
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Oct 14 14:49:06 2017 -0400
try including credentials
---
www/board/agenda/views/models/pending.js.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/views/models/pending.js.rb b/www/board/agenda/views/models/pending.js.rb
index e81b934..1d54ea6 100644
--- a/www/board/agenda/views/models/pending.js.rb
+++ b/www/board/agenda/views/models/pending.js.rb
@@ -8,7 +8,7 @@ class Pending
# fetch pending from server (needed for ServiceWorkers)
def self.fetch()
- fetch('pending.json').then do |response|
+ fetch('pending.json', credentials: 'include').then do |response|
if response.ok
response.json().then do |json|
Pending.load(json)
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].