Skip to content

Commit

Permalink
Refined the DataType webhooks mostly to remove Messages & State prope…
Browse files Browse the repository at this point in the history
…rties
  • Loading branch information
warrenbuckley committed Nov 22, 2023
1 parent 8e0d8f3 commit 29dc36d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ public DataTypeDeletedWebhookEvent(
}

public override string Alias => "dataTypeDeleted";

public override object? ConvertNotificationToRequestPayload(DataTypeSavedNotification notification)
=> notification.SavedEntities;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ public DataTypeMovedWebhookEvent(
}

public override string Alias => "dataTypeMoved";

public override object? ConvertNotificationToRequestPayload(DataTypeMovedNotification notification)
=> notification.MoveInfoCollection;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ public DataTypeSavedWebhookEvent(
}

public override string Alias => "dataTypeSaved";

public override object? ConvertNotificationToRequestPayload(DataTypeSavedNotification notification)
=> notification.SavedEntities;
}

0 comments on commit 29dc36d

Please sign in to comment.