Skip to content

Commit 2ce0341

Browse files
committed
Make sure the channel event UUID is generated and read from the the DB
1 parent a2a6078 commit 2ce0341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: backends/rapidpro/channel_event.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func writeChannelEvent(ctx context.Context, b *backend, event courier.ChannelEve
138138

139139
const sqlInsertChannelEvent = `
140140
INSERT INTO
141-
channels_channelevent( org_id, uuid, channel_id, contact_id, contact_urn_id, event_type, optin_id, extra, occurred_on, created_on, status, log_uuids)
141+
channels_channelevent( org_id, uuid, channel_id, contact_id, contact_urn_id, event_type, optin_id, extra, occurred_on, created_on, status, log_uuids)
142142
VALUES(:org_id, :uuid, :channel_id, :contact_id, :contact_urn_id, :event_type, :optin_id, :extra, :occurred_on, NOW(), 'P', :log_uuids)
143143
RETURNING id, created_on`
144144

0 commit comments

Comments
 (0)