From a34e32301c258b21739ecae59fe5cc179b24f62e Mon Sep 17 00:00:00 2001 From: Shreedhar Hegde Date: Thu, 28 Apr 2022 13:23:38 +0530 Subject: [PATCH] modified docusaurus admonitions in notification-api.md and transaction-error-in-checkout.md files. --- docs/content/how-to/notification-api.md | 1 + docs/content/troubleshooting/transaction-error-in-checkout.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/how-to/notification-api.md b/docs/content/how-to/notification-api.md index 636928b1ba..2e39c2523a 100644 --- a/docs/content/how-to/notification-api.md +++ b/docs/content/how-to/notification-api.md @@ -77,6 +77,7 @@ class MyService extends NotificationService { export default MyService; ``` + :::note A notification service must have a static property called `identifier` this is used to determine which classes are called when subscribing to different events. In this case the service identifier is `my-service` so to subscribe to notifications you must use: diff --git a/docs/content/troubleshooting/transaction-error-in-checkout.md b/docs/content/troubleshooting/transaction-error-in-checkout.md index fcaaeb5a17..42a2e7e7b8 100644 --- a/docs/content/troubleshooting/transaction-error-in-checkout.md +++ b/docs/content/troubleshooting/transaction-error-in-checkout.md @@ -34,7 +34,7 @@ module.exports = { } ``` -:::note +:::tip When changing from SQLite to Postgres, you should seed the database again using: