chore: retire webhook state

This commit is contained in:
johnnyjoy
2025-01-10 22:24:12 +08:00
parent 2a861ea430
commit c1498a1844
9 changed files with 122 additions and 179 deletions

View File

@ -103,7 +103,6 @@ func convertWebhookFromStore(webhook *store.Webhook) *v1pb.Webhook {
Id: webhook.ID,
CreateTime: timestamppb.New(time.Unix(webhook.CreatedTs, 0)),
UpdateTime: timestamppb.New(time.Unix(webhook.UpdatedTs, 0)),
State: convertStateFromStore(webhook.RowStatus),
CreatorId: webhook.CreatorID,
Name: webhook.Name,
Url: webhook.URL,