fix a node-sqlite3-ism that breaks record removal in grist-static (#566)
Grist by default uses node-sqlite3 to manipulate data in an SQLite database. If a single parameter is passed to `run` and it is a list, the list is unpacked and its contents treated as the actual parameters. In grist-static, we use other SQLite interfaces that don't have that automatic unpacking. Most calls like this have been removed from Grist, but at least one was missed, and was causing symptoms such as https://github.com/gristlabs/grist-static/issues/5 This change should make no difference to regular Grist, but resolves the grist-static problems.pull/568/head
parent
b2743cac2d
commit
958ea096f3
Loading…
Reference in new issue