Skip to content

Commit 3e49ff2

Browse files
committed
use 'default' group for block creation
1 parent ef1a008 commit 3e49ff2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/blocks/AdafruitIO_Block.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,8 @@ bool AdafruitIO_Block::save()
6262
url += _dashboard->name;
6363
url += "/blocks";
6464

65-
String user = _dashboard->user();
66-
user.replace("_", "-");
67-
68-
String block_feeds = "[{\"group_id\": \"";
69-
block_feeds += user;
70-
block_feeds += "\",\"feed_id\":\"";
65+
String block_feeds = "[{\"group_id\":\"default\",";
66+
block_feeds += "\"feed_id\":\"";
7167
block_feeds += _feed->name;
7268
block_feeds += "\"}]";
7369

0 commit comments

Comments
 (0)