Skip to content

A local-first personal finance app

Fix link to main.ts in API docs. (#621)

Zachary Milonasdc43a680e9b2
diff --git a/docs/api/index.md b/docs/api/index.md
index 5d896710a5..813f803e18 100644
--- a/docs/api/index.md
+++ b/docs/api/index.md
@@ -107,7 +107,7 @@ Check out the [YNAB4](https://github.com/actualbudget/actual/blob/master/package
## Methods
-These are the public methods that you can use. The API also exports low-level functions like `init`, `send`, `disconnect`, and `loadBudget` if you want to manually manage the connection. You can [read the source](https://github.com/actualbudget/actual/blob/master/packages/loot-core/src/server/main.js) to learn about those methods (search for `export const lib`).
+These are the public methods that you can use. The API also exports low-level functions like `init`, `send`, `disconnect`, and `loadBudget` if you want to manually manage the connection. You can [read the source](https://github.com/actualbudget/actual/blob/master/packages/loot-core/src/server/main.ts) to learn about those methods (search for `export const lib`).
#### `init`