Skip to content

Commit

Permalink
fix: fix notifs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Jun 18, 2024
1 parent 69c7c14 commit df2611d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export async function sendNotification(options: ISendNotificationInputOptions) {
: {}),
};

const requestURL = `${token?.validatorUrl}/apis/v1/payloads/`;
const requestURL = `${token?.validatorUrl}/apis/v1/messaging/addBlocking/`;
return await axiosPost(requestURL, apiPayload, {
headers: {
'Content-Type': 'application/json',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('PushAPI.channel functionality', () => {
signer = ethers.Wallet.createRandom();
});

it('Initialize user with validator node', async () => {
it('Initialize user', async () => {
await PushAPI.initialize(signer, {
env,
});
Expand Down

0 comments on commit df2611d

Please sign in to comment.