aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index beddcad..e46ff8a 100644
--- a/client.go
+++ b/client.go
@@ -619,7 +619,7 @@ func GetLocalDeleteDB(db *sql.DB) []Removed {
return deleted
}
-func CreateLocalReportDB(db *sql.DB, id string, board string) {
+func CreateLocalReportDB(db *sql.DB, id string, board string, reason string) {
query := fmt.Sprintf("select id, count from reported where id='%s' and board='%s'", id, board)
rows, err := db.Query(query)