Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MikesGlitch/actual into e…
Browse files Browse the repository at this point in the history
…lectron/sync-server-embedded
  • Loading branch information
MikesGlitch committed Mar 4, 2025
2 parents bab44f2 + e0805c1 commit 68a61dd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function updateScheduleConditions(
return { ...cond, value };
}

if (value != null) {
if (value != null || field === 'payee') {
return { op, field, value };
}

Expand Down
4 changes: 2 additions & 2 deletions packages/sync-server/src/load-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const configSchema = convict({
port: {
doc: 'Port to run the server on.',
format: 'port',
default: 5006,
env: ['ACTUAL_PORT', 'PORT'],
default: process.env.PORT ? process.env.PORT : 5006,
env: 'ACTUAL_PORT',
},
hostname: {
doc: 'Server hostname.',
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4267.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---

Add "payee is nothing" condition to rule if there is no payee set in a schedule
6 changes: 6 additions & 0 deletions upcoming-release-notes/4537.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [lelemm]
---

Fix for ACTUAL_PORT and PORT vars

0 comments on commit 68a61dd

Please sign in to comment.