modified docusaurus admonitions in notification-api.md and transaction-error-in-checkout.md files.

This commit is contained in:
Shreedhar Hegde
2022-04-28 13:23:38 +05:30
parent c1fac27ccf
commit a34e32301c
2 changed files with 2 additions and 1 deletions

View File

@@ -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:

View File

@@ -34,7 +34,7 @@ module.exports = {
}
```
:::note
:::tip
When changing from SQLite to Postgres, you should seed the database again using: