Skip to content

Commit b12f423

Browse files
committed
feat(hermes): setting verification
1 parent 6ff5dff commit b12f423

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Services/hermes.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ class Hermes {
3535
return this.auth.send(this.service, 'POST', url, { payload });
3636
}
3737

38+
/**
39+
* Verifies the application's notification settings.
40+
*/
41+
verify() {
42+
const url = `${this.url}/notify/verify`;
43+
return this.auth.send(this.service, 'POST', url, {});
44+
}
45+
3846
/**
3947
* Gets notification logs
4048
* @param {String} userId

0 commit comments

Comments
 (0)