A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: add func to fetch recent announcement
thecodrr4a349a3c273f
diff --git a/packages/core/api/index.js b/packages/core/api/index.jsindex 53ed9bcee..1ba542447 100644--- a/packages/core/api/index.js+++ b/packages/core/api/index.js@@ -186,6 +186,10 @@ class Database {version() {return http.get(`${Constants.API_HOST}/version`);}++ announcement() {+ return http.get(`${Constants.API_HOST}/announcements/recent`);+ }}export default Database;