HARestAPI icon indicating copy to clipboard operation
HARestAPI copied to clipboard

Release v0.3.2 bugs/typos?

Open Ismoh opened this issue 2 years ago • 0 comments

I am a fan of using releases instead of master, but realised there are some typos?

Compile errors:

...\HARestAPI.cpp:102:53: error: expected ';' before '}' token
102 |       wsclient->setFingerprint(_fingerprint.c_str())
|                                                     ^
|                                                     ;
103 |     }
|     ~
...\HARestAPI.cpp: In member function 'bool HARestAPI::sendPostHA(String, String)':
...\HARestAPI.cpp:191:54: error: expected ';' before '}' token
191 |       wsclient-> setFingerprint(_fingerprint.c_str())
|                                                      ^
|                                                      ;
192 |     }
|     ~

After fixing those manually, everything worked fine.

Ismoh avatar Dec 28 '23 17:12 Ismoh