chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
identifier = null
|
||||
body = parse_json!(.body)
|
||||
|
||||
identifier = get(body, ["events", 0, "payload", "message", "source", "integrationId"]) ?? null
|
||||
|
||||
if identifier == null {
|
||||
identifier = get(body, ["events", 0, "payload", "conversation", "metadata", "botpressIntegrationOwner"]) ?? null
|
||||
}
|
||||
|
||||
identifier
|
||||
Reference in New Issue
Block a user