API Error in code for GET /api/messages/view
jfstarnaud opened this issue · comments
There is a small typo here causing a syntax error in the SQL statement intended for message viewing.
Any time you are meant to use the call you get this error:
org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "SELECT * FROM msg_metadata WHERE msg_id [*]msg_id = ?"; SQL statement:
SELECT * FROM msg_metadata WHERE msg_id msg_id = ?
Simply removing the "extra" msg_id from the string would solve the issue.
Thank you. When do you think the fix will be live?
3.6.0 just released fixes persistence issues and other bugs around the REST API that the WebUI app uses so you should upgrade.