Fix error message

This commit is contained in:
Krzysztof Bialoglowicz 2019-10-18 14:07:17 +02:00
parent 9d3da33fc9
commit c40bd1a2e6

View file

@ -62,7 +62,7 @@ const WebhookInfo: React.StatelessComponent<WebhookInfoProps> = ({
function translateErrors(intl: IntlShape) { function translateErrors(intl: IntlShape) {
return { return {
[WebhookErrorCode.INVALID]: intl.formatMessage({ [WebhookErrorCode.INVALID]: intl.formatMessage({
defaultMessage: "Missing token or serviceAccount", defaultMessage: "Missing service account",
description: "webhook service account error" description: "webhook service account error"
}) })
}; };
@ -112,7 +112,7 @@ const WebhookInfo: React.StatelessComponent<WebhookInfoProps> = ({
helperText={ helperText={
serviceAccountsError && serviceAccountsError &&
intl.formatMessage({ intl.formatMessage({
defaultMessage: "Missing token or serviceAccount", defaultMessage: "Missing service account",
description: "webhook service account error" description: "webhook service account error"
}) })
} }