We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7525a21 commit c40913bCopy full SHA for c40913b
src/AdafruitIO_Dashboard.cpp
@@ -39,6 +39,9 @@ bool AdafruitIO_Dashboard::exists()
39
40
bool AdafruitIO_Dashboard::create()
41
{
42
+ if(exists())
43
+ return true;
44
+
45
String url = "/api/v2/";
46
url += _io->_username;
47
url += "/dashboards";
src/AdafruitIO_Feed.cpp
@@ -126,6 +126,9 @@ bool AdafruitIO_Feed::exists()
126
127
bool AdafruitIO_Feed::create()
128
129
130
131
132
String body = "name=";
133
body += name;
134
0 commit comments