From 25bf0b3675475a9950423e39620a77a099c1cbfa Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 26 Apr 2023 09:14:02 +0200 Subject: [PATCH] update g/all to f/examples --- frontend/src/lib/components/flows/previousResults.ts | 2 +- frontend/src/lib/script_helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/flows/previousResults.ts b/frontend/src/lib/components/flows/previousResults.ts index 5b2d89ecce..6a7283ed07 100644 --- a/frontend/src/lib/components/flows/previousResults.ts +++ b/frontend/src/lib/components/flows/previousResults.ts @@ -161,7 +161,7 @@ declare function variable(path: string): string; /** * get resource at path -* @param {string} path - path of the resource (e.g: g/all/my_resource) +* @param {string} path - path of the resource (e.g: f/examples/my_resource) */ declare function resource(path: string): any; diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index 09408857c2..469b839a48 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -92,7 +92,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", + db: Resource<"postgresql"> = "$res:f/examples/demodb", key: number, value: string, ) {