[MM-25477] - Migrate command webhook store AppError to error (#14703)
* Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Migrate command webhook store AppError to error * Changes requested in the review. * Changing http status * fix i18n Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Этот коммит содержится в:
@@ -488,9 +488,9 @@ type CommandStore interface {
|
||||
}
|
||||
|
||||
type CommandWebhookStore interface {
|
||||
Save(webhook *model.CommandWebhook) (*model.CommandWebhook, *model.AppError)
|
||||
Get(id string) (*model.CommandWebhook, *model.AppError)
|
||||
TryUse(id string, limit int) *model.AppError
|
||||
Save(webhook *model.CommandWebhook) (*model.CommandWebhook, error)
|
||||
Get(id string) (*model.CommandWebhook, error)
|
||||
TryUse(id string, limit int) error
|
||||
Cleanup()
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user