Checking whether a user has a registered alias #95
Labels
No Label
ussd/user-reported
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: grassrootseconomics/sarafu-vise#95
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the alias API allows a user to only have one alias
If a user has an existing alias, the USSD should call the updateAlias endpoint and only call the registerAlias endpoint if an alias doesn't exist.
The key being used to check the existence of an alias is DATA_SUGGESTED_ALIAS. However, some users have existing aliases under DATA_ACCOUNT_ALIAS.
The handler needs to check both keys to prevent any edge-case errors
Resolved by having a new alias flow under PR #96