Skip to content

Commit

Permalink
fix: missing binding and only include if true (non default value)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Mar 23, 2024
1 parent 8ca1def commit 4c2b3c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data class NotificationParams(
val lastNotification: ZonedDateTime? = null,
val lastFailure: ZonedDateTime? = null,
val lastSuccess: ZonedDateTime? = null,
@JsonInclude(value = JsonInclude.Include.NON_DEFAULT)
val sysAttrs: Boolean = false
) {
enum class FormatType(val format: String) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ class SubscriptionService(
notif_format, endpoint_uri, endpoint_accept, endpoint_receiver_info, endpoint_notifier_info, status,
times_sent, is_active, last_notification, last_failure, last_success, entity_selector.id as entity_id,
id_pattern, entity_selector.type_selection as type_selection, georel, geometry, coordinates,
pgis_geometry, geoproperty, scope_q, expires_at, contexts, throttling
pgis_geometry, geoproperty, scope_q, expires_at, contexts, throttling, sys_attrs
FROM subscription
LEFT JOIN entity_selector ON entity_selector.subscription_id = subscription.id
LEFT JOIN geometry_query ON geometry_query.subscription_id = subscription.id
Expand Down

0 comments on commit 4c2b3c7

Please sign in to comment.