fix(webhook): use same casing for basic auth fields (#2688)

This commit is contained in:
Cristian Ivascu 2026-04-24 12:20:07 +03:00 committed by GitHub
parent 6bf586e928
commit 67ad31c9c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -145,7 +145,7 @@ function doDelete() {
<template #default="{id}">
<FormInput
:id="id"
v-model="newWebhook.basicauthuser"
v-model="newWebhook.basicAuthUser"
/>
</template>
</FormField>
@ -153,7 +153,7 @@ function doDelete() {
<template #default="{id}">
<FormInput
:id="id"
v-model="newWebhook.basicauthpassword"
v-model="newWebhook.basicAuthPassword"
/>
</template>
</FormField>

View File

@ -6,8 +6,8 @@ export interface IWebhook extends IAbstract {
projectId: number
userId: number
secret: string
basicauthuser: string
basicauthpassword: string
basicAuthUser: string
basicAuthPassword: string
targetUrl: string
events: string[]
createdBy: IUser

View File

@ -7,8 +7,8 @@ export default class WebhookModel extends AbstractModel<IWebhook> implements IWe
projectId = 0
userId = 0
secret = ''
basicauthuser = ''
basicauthpassword = ''
basicAuthUser = ''
basicAuthPassword = ''
targetUrl = ''
events = []
createdBy = null