aboutsummaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-21 17:34:35 -0400
committerIvan Chen <ivan@tagg.id>2021-05-21 17:34:35 -0400
commitb660f0ef6db2d96d4f3afb2cf240121625be87d5 (patch)
treee1be2f6f7092fdb4e92d08721d990cbe51f9eecd /src/constants
parent502c60aff2e57eb68050f29c3d32d27c9c54b15e (diff)
parent87333873c8e47bccd99198a974a40df57619df22 (diff)
Merge branch 'master' into tma854-tagging-draggable-component
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/api.ts1
-rw-r--r--src/constants/strings.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index ec67b6f9..6cc357f5 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -52,7 +52,6 @@ export const USERS_FROM_CONTACTS_ENDPOINT: string =
API_URL + 'user_contacts/find_friends/';
export const INVITE_FRIEND_ENDPOINT: string =
API_URL + 'user_contacts/invite_friend/';
-export const CREATE_INVITE_CODE = API_URL + 'create-code/';
export const GET_REMAINING_INVITES = API_URL + 'user_contacts/check_invite_count/'
// Suggested People
export const SP_USERS_ENDPOINT: string = API_URL + 'suggested_people/';
diff --git a/src/constants/strings.ts b/src/constants/strings.ts
index 2ce64aed..a1064f49 100644
--- a/src/constants/strings.ts
+++ b/src/constants/strings.ts
@@ -21,6 +21,7 @@ export const ERROR_FAILED_LOGIN_INFO = 'Login failed, please try re-entering you
export const ERROR_FAILED_TO_COMMENT = 'Unable to post comment, refresh and try again!';
export const ERROR_FAILED_TO_CREATE_CHANNEL = 'Failed to create a channel, Please try again!';
export const ERROR_FAILED_TO_DELETE_COMMENT = 'Unable to delete comment, refresh and try again!';
+export const ERROR_FAILED_TO_INVITE_CONTACT = `Unable to invite contact, refresh and try again!`;
export const ERROR_INVALID_INVITATION_CODE = 'Invitation code invalid, try again or talk to the friend that sent it 😬';
export const ERROR_INVALID_LOGIN = 'Invalid login, Please login again';
export const ERROR_INVALID_PWD_CODE = 'Looks like you have entered the wrong code, please try again';