mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 00:03:08 +00:00
fix(frontend): psql demo expects integers as a key (#958)
This commit is contained in:
committed by
GitHub
parent
8fdc1d122b
commit
d85f322a39
@@ -139,7 +139,7 @@ export const POSTGRES_INIT_CODE = `import {
|
||||
//PG parameterized statement. No SQL injection is possible.
|
||||
export async function main(
|
||||
db: Resource<"postgresql"> = "$res:g/all/demodb",
|
||||
key: string,
|
||||
key: number,
|
||||
value: string,
|
||||
) {
|
||||
const query = await pgSql(
|
||||
|
||||
Reference in New Issue
Block a user