From 62ccaf16afe852cdf9cb5b511292e700332c0254 Mon Sep 17 00:00:00 2001 From: Jeremy Defferrard Date: Mon, 7 Oct 2024 16:57:16 +0200 Subject: [PATCH] feat: not member or guest failure message --- src/constants/messages.ts | 1 + src/langs/en/messages.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants/messages.ts b/src/constants/messages.ts index c9762f6f..ad40a271 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -130,6 +130,7 @@ export const FAILURE_MESSAGES = { 'CANNOT_REGISTER_ON_FROZEN_ITEM_LOGIN_SCHEMA', CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA: 'CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA', + NOT_MEMBER_OR_GUEST: 'NOT_MEMBER_OR_GUEST', }; export const DEFAULT_FAILURE_MESSAGE = FAILURE_MESSAGES.UNEXPECTED_ERROR; diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index d402954c..a2424b7a 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -153,5 +153,6 @@ "DELETE_MEMBERSHIP_REQUEST": "Membership request has been successfully deleted.", "ENROLL": "You successfully enrolled to the item.", "CANNOT_REGISTER_ON_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot register on the targeted item because the subscription has been frozen by its owner", - "CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot enroll in the targeted item because the subscription has been frozen by its owner" + "CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot enroll in the targeted item because the subscription has been frozen by its owner", + "NOT_MEMBER_OR_GUEST": "Your account is not registered as member or pseudonimized user" }