aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/sqlite3/receipt_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/sqlite3/receipt_table.go')
-rw-r--r--syncapi/storage/sqlite3/receipt_table.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncapi/storage/sqlite3/receipt_table.go b/syncapi/storage/sqlite3/receipt_table.go
index dea05771..bd778bf3 100644
--- a/syncapi/storage/sqlite3/receipt_table.go
+++ b/syncapi/storage/sqlite3/receipt_table.go
@@ -59,13 +59,13 @@ const selectMaxReceiptIDSQL = "" +
type receiptStatements struct {
db *sql.DB
- streamIDStatements *streamIDStatements
+ streamIDStatements *StreamIDStatements
upsertReceipt *sql.Stmt
selectRoomReceipts *sql.Stmt
selectMaxReceiptID *sql.Stmt
}
-func NewSqliteReceiptsTable(db *sql.DB, streamID *streamIDStatements) (tables.Receipts, error) {
+func NewSqliteReceiptsTable(db *sql.DB, streamID *StreamIDStatements) (tables.Receipts, error) {
_, err := db.Exec(receiptsSchema)
if err != nil {
return nil, err