fix(webhook): use same casing for basic auth fields (#2688)
This commit is contained in:
parent
6bf586e928
commit
67ad31c9c8
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue