fix: Fixed API typo and webhook checkerror (#6779)

## Issue
1.There was an Api typo with API under Developers section #6778
2. Webhook lacked an check method for the `TextInput` #6774

## After- 

<img width="649" alt="Screenshot 2024-08-29 at 2 13 21 AM"
src="https://github.com/user-attachments/assets/bc9595f8-533f-430e-bc18-56373983eec8">



https://github.com/user-attachments/assets/8e2b06bc-308a-48ad-8ecb-9d0a130877bc

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Harshit Singh
2024-08-31 22:47:14 +05:30
committed by GitHub
parent 96d659cf56
commit f8890689ee
4 changed files with 54 additions and 6 deletions

View File

@ -136,7 +136,7 @@ export const SettingsDevelopersApiKeyDetail = () => {
{apiKeyToken ? (
<>
<H2Title
title="Api Key"
title="API Key"
description="Copy this key as it will only be visible this one time"
/>
<ApiKeyInput apiKey={apiKeyToken} />
@ -147,8 +147,8 @@ export const SettingsDevelopersApiKeyDetail = () => {
) : (
<>
<H2Title
title="Api Key"
description="Regenerate an Api key"
title="API Key"
description="Regenerate an API key"
/>
<StyledInputContainer>
<Button
@ -213,7 +213,7 @@ export const SettingsDevelopersApiKeyDetail = () => {
confirmationValue="yes"
isOpen={isDeleteApiKeyModalOpen}
setIsOpen={setIsDeleteApiKeyModalOpen}
title="Delete Api key"
title="Delete API key"
subtitle={
<>
Please type "yes" to confirm you want to delete this API Key. Be
@ -228,7 +228,7 @@ export const SettingsDevelopersApiKeyDetail = () => {
confirmationValue="yes"
isOpen={isRegenerateKeyModalOpen}
setIsOpen={setIsRegenerateKeyModalOpen}
title="Regenerate an Api key"
title="Regenerate an API key"
subtitle={
<>
If youve lost this key, you can regenerate it, but be aware that