fix typo in SQL statement definition
[catagits/App-IdiotBox.git] / lib / App / IdiotBox / Store / SQLite.pm
index 2f17260..dfd0949 100644 (file)
@@ -71,7 +71,7 @@ sub _bind_announcements {
         ORDER BY
           announcement.made_at DESC
       },
-      insert_sql => sub {
+      insert_one => sub {
         my ($store, undef, $dbh, $args) = @_;
         $store->_sth_for($dbh, q{
           INSERT INTO announcements