fix: refs #6818 get default prefix on err #1034
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1034
Loading…
Reference in New Issue
No description provided.
Delete Branch "6818-hotfix-getDefaultPrefix"
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?
@ -13,2 +10,3 @@
prefix = (await axios.get(`Prefixes/${country.toLowerCase()}`)).data?.prefix;
} catch (e) {
return null;
prefix = (await axios.get('PbxConfigs/findOne')).data?.defaultPrefix;
Hablado con Juan