Fix error message
This commit is contained in:
parent
9d3da33fc9
commit
c40bd1a2e6
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue