Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
juchiast committed Jan 9, 2025
1 parent 5ed703b commit 458626d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/db/src/connection/conn_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ impl UserConnection {
tx.do_execute(
"INSERT INTO flow_deployments
(id, user_id, entrypoint, start_permission, output_instructions, action_identity, action_config, fees)
VALUES ($1, $2, $3, $4, $5, $6, $7)",
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)",
&[
&id,
&d.user_id,
Expand Down Expand Up @@ -441,7 +441,7 @@ impl UserConnection {
.await
.map_err(Error::exec("copy in"))?;
let writer =
BinaryCopyInWriter::new(sink, &[Type::UUID, Type::INT8, Type::UUID, Type::JSONB]);
BinaryCopyInWriter::new(sink, &[Type::UUID, Type::INT4, Type::UUID, Type::JSONB]);
futures_util::pin_mut!(writer);
for f in d.flows.values() {
let f = &f.row;
Expand Down
3 changes: 2 additions & 1 deletion docker/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.branches
.temp
.env
.config.toml
.config.toml
.local-config.toml
2 changes: 1 addition & 1 deletion docker/import-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (exportResp.status !== 200) {
Deno.exit(1);
}
const data = await exportResp.json();
const SERVER = `http://localhost:${getEnv("KONG_HTTP_PORT")}/flow-server`;
const SERVER = `http://127.0.0.1:8080`;
console.log(`Importing data to ${SERVER}`);
const importResp = await fetch(
`${SERVER}/data/import`,
Expand Down

0 comments on commit 458626d

Please sign in to comment.