Remove connection arguments for the Actual Budget API
This commit is contained in:
parent
1e750c6cdb
commit
fc5d04d2bc
1 changed files with 1 additions and 4 deletions
|
|
@ -1,8 +1,7 @@
|
|||
// Expects a JSON config file to be passed in the env variable CONFIG_FILE.
|
||||
// The file should contain:
|
||||
// "dataDir": path
|
||||
// "serverURL": "http://localhost:5006"
|
||||
// "password": "hunter1"
|
||||
// "accountId": UUID for the account to add transactions to.
|
||||
|
||||
import express from 'express'
|
||||
import AsyncLock from 'async-lock';
|
||||
|
|
@ -51,8 +50,6 @@ async function init() {
|
|||
try {
|
||||
await api.init({
|
||||
dataDir: config.dataDir,
|
||||
serverURL: config.serverURL,
|
||||
password: config.password,
|
||||
});
|
||||
const transaction = makeTransaction(parse(req.body), config.accountId);
|
||||
console.log(transaction);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue