From c7b7b21d34ee85813b327cb908859a013adb5409 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 30 Jul 2019 17:01:35 +0200
Subject: [PATCH] Fix missing export for the notification function

---
 packages/notification/README.md    | 4 ++--
 packages/notification/src/index.js | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/notification/README.md b/packages/notification/README.md
index c0990892..1d6f86fd 100644
--- a/packages/notification/README.md
+++ b/packages/notification/README.md
@@ -16,9 +16,9 @@
 ## Sending notifications 
 
 ```javascript
-import notification from './notification';
+import { send } from './notification';
 
-notification.send({
+send({
     "summary": "Item deleted",
     "body": "Item foo was deleted!",
     "type": "info",
diff --git a/packages/notification/src/index.js b/packages/notification/src/index.js
index 21fda800..33206ad7 100644
--- a/packages/notification/src/index.js
+++ b/packages/notification/src/index.js
@@ -1 +1,4 @@
 import './vpu-notification';
+import send from './notification';
+
+export { send };
-- 
GitLab