Skip to content

Commit 1101ef6

Browse files
committed
Correct library .h
1 parent 52ba6dc commit 1101ef6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

SlicingDice.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
class SlicingDice {
88

99
public:
10-
SlicingDice(const char* apiUserKey);
11-
SlicingDice(const char* apiUserKey, const char* customHost);
12-
SlicingDice(const char* apiUserKey, const char* customHost, int customPort);
13-
SlicingDice(const char* apiUserKey, const char* customHost, int customPort, int customTest);
10+
SlicingDice(String apiUserKey);
11+
SlicingDice(String apiUserKey, const char* customHost);
12+
SlicingDice(String apiUserKey, const char* customHost, int customPort);
13+
SlicingDice(String apiUserKey, const char* customHost, int customPort, int customTest);
1414

1515
void index(JsonObject& query);
1616
int statusCode;
@@ -20,9 +20,9 @@ class SlicingDice {
2020
void makeRequest(const char* query);
2121
void readResponse();
2222

23-
const char* apiKey;
23+
String apiKey;
2424
const char* host;
2525
int port;
26-
int test;
26+
int test;
2727
EthernetClient client;
28-
};
28+
};

0 commit comments

Comments
 (0)