Skip to content

Instantly share code, notes, and snippets.

@crazydevman
crazydevman / sync.js.diff
Created December 10, 2023 20:08
Actual SimpleFIN Sync set account notes about sync status
diff --git a/sync.js b/sync.js
index 215f6b5..c8c42d4 100644
--- a/sync.js
+++ b/sync.js
@@ -1,5 +1,6 @@
const simpleFIN = require('./simpleFIN')
const api = require('@actual-app/api');
+const actualInjected = require('@actual-app/api/dist/injected')
let _accessKey
@crazydevman
crazydevman / eventCondition_pom.xml
Last active February 7, 2019 14:26
Sample code to publish and listen for events with conditions
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.19.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>