Skip to content

Commit

Permalink
Merge branch 'beta_2.0' into build/versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
JM-Lemmi committed Feb 15, 2024
2 parents efd1507 + 2d096b1 commit b84d4c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.0.0-beta.7.4

- Fix critical bug in Databse query for Rule Filters

# 2.0.0-beta.7.3

- Implement PUT /api/profiles/<profile> (editProfile) for DB
Expand Down
2 changes: 1 addition & 1 deletion cmd/ical-relay/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ JOIN profile_sources ps ON id = ps.source WHERE ps.profile = $1`,
rule.Action = actionParameters

var dbFilters []dbFilter
err = db.Select(&dbFilters, "SELECT type, parameters FROM filter WHERE id = $1", dbRule.Id)
err = db.Select(&dbFilters, "SELECT type, parameters FROM filter WHERE rule = $1", dbRule.Id)
if err != nil {
log.Fatal(err)
}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
POSTGRES_USER: dbuser
POSTGRES_PASSWORD: password
POSTGRES_DB: ical_relay
ports:
- 127.0.0.1:5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/data
healthcheck:
Expand Down

0 comments on commit b84d4c1

Please sign in to comment.