Fix column count error

This commit is contained in:
Till Faelligen 2020-10-15 17:43:44 +02:00
parent 6f6a2c1b2d
commit 4917cee11c

View file

@ -52,7 +52,7 @@ const upsertReceipt = "" +
" RETURNING id" " RETURNING id"
const selectRoomReceipts = "" + const selectRoomReceipts = "" +
"SELECT id, room_id, receipt_type, user_id, event_id, receipt_ts" + "SELECT room_id, receipt_type, user_id, event_id, receipt_ts" +
" FROM syncapi_receipts" + " FROM syncapi_receipts" +
" WHERE room_id = $1 AND id > $2" " WHERE room_id = $1 AND id > $2"