Skip to content

Commit

Permalink
Add settings to GivingApi (#13)
Browse files Browse the repository at this point in the history
* Add settings to GivingApi

* Export only the SettingController
  • Loading branch information
Jared Martin authored Apr 19, 2021
1 parent 8ed732b commit 6e32eec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { SettingController } from "../apiBase"
export { ChurchController } from "./ChurchController";
export { DonationBatchController } from "./DonationBatchController";
export { DonationController } from "./DonationController";
Expand Down
1 change: 1 addition & 0 deletions tools/initdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const init = async () => {
{ title: "Gateways", file: "gateways.mysql" }
];

await DBCreator.init(["Settings"]);
await initTables("Giving", givingTables);
}

Expand Down

0 comments on commit 6e32eec

Please sign in to comment.