-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: add route to serve record notification (#274)
* chore: add route to serve record notification * chore: improve record notification types * docs: update changelog for addtion of notification flag * docs: amend changelog for notification flag * docs: rearrange notification flags CHANGELOG entry --------- Co-authored-by: Tameem Bin Haider <[email protected]>
- Loading branch information
1 parent
aa90500
commit 9531d88
Showing
4 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as Hapi from '@hapi/hapi' | ||
import { notificationForRecord } from '../application/application-config' | ||
|
||
export function recordNotificationHandler( | ||
request: Hapi.Request, | ||
h: Hapi.ResponseToolkit | ||
) { | ||
return h.response(notificationForRecord) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters