Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle campaign_updated events #133

Merged
merged 6 commits into from
Jan 22, 2025
Merged

Handle campaign_updated events #133

merged 6 commits into from
Jan 22, 2025

Conversation

1v4n4
Copy link
Member

@1v4n4 1v4n4 commented Jan 19, 2025

The issue #132

Example of the event message:

  "campaign": {
    "config": {
      "component": {
        "register": {
          "field": {
            "comment": true,
            "country": true,
            "email": {
              "required": true
            },
            "firstname": {
              "required": true
            },
            "lastname": true,
            "organisation": false,
            "phone": false,
            "postcode": true
          }
        },
        "sync": {
          "customLabel": "25016_Test_Petition_Feld",
          "listId": "621987"
        }
      }
    },
    "contactSchema": "basic",
    "externalId": 6219871,
    "id": 812,
    "name": "sync_test",
    "org": {
      "name": "hateaid-test",
      "title": "HateAid Test Account"
    },
    "title": "Sync test"
  },
  "campaignId": 812,
  "eventType": "campaign_updated",
  "orgId": 981,
  "schema": "proca:event:2",
  "timestamp": "2025-01-16T13:25:17Z"
}

Except for an attempt to solve the issue, some dependencies are updated in this PR (breaking changes not expected)

@1v4n4 1v4n4 changed the title Handle caampaign_updated events Handle campaign_updated events Jan 19, 2025
@1v4n4
Copy link
Member Author

1v4n4 commented Jan 19, 2025

@tttp How to test?

@1v4n4 1v4n4 merged commit 836706e into main Jan 22, 2025
2 of 12 checks passed
@1v4n4 1v4n4 deleted the campaignUpdatedEvent branch January 22, 2025 10:05
@1v4n4 1v4n4 restored the campaignUpdatedEvent branch January 22, 2025 12:17
@1v4n4 1v4n4 deleted the campaignUpdatedEvent branch January 22, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant