-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add apis for initiate and verify alias. #1239
Conversation
Review FeedbackFile: packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts
File: packages/restapi/src/lib/pushNotification/alias.ts
File: packages/restapi/src/lib/pushNotification/channel.ts
File: packages/restapi/src/lib/pushNotification/pushNotificationBase.ts
Overall, there are several typos, syntax errors, and incorrect variable declarations across the files. Please review and make the necessary corrections.I have identified various issues in the provided code snippets. Please make the necessary corrections. Let me know if you need any further assistance. |
1 issue which I can think of in this approach is |
You meant alias.verify? Because alias.initiate is something which is invoked to add an alias. |
There are several issues found in the provided code:
After correcting the above issues, the code looks good. Note: Please check for any other logic-related issues or business rule validations as these were not thoroughly analyzed in the review. |
In the file packages/restapi/src/lib/pushNotification/PushNotificationTypes.ts:
In the file packages/restapi/src/lib/pushNotification/alias.ts:
In the file packages/restapi/src/lib/pushNotification/channel.ts:
In the file packages/restapi/src/lib/pushNotification/pushNotificationBase.ts:
Overall, the code has various syntax errors, missing curly braces, incomplete logic blocks, and unfinished comments. It needs to be corrected to maintain the code's integrity. |
}); | ||
|
||
it('With signer and provider :: should add alias', async () => { | ||
const res = await userKate.channel.alias.initiate( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes Issue
#1218
#1219
Changes proposed
Check List (Check all the applicable boxes)
Screenshots
Note to reviewers