|
14 | 14 | "kind": "user" |
15 | 15 | }, |
16 | 16 | "data": { |
17 | | - "kind": "project:branch:updated", |
18 | | - "link": "http://<HOST>:1234/@test/publictestproject/code/newbranch/latest", |
| 17 | + "kind": "project:contribution:updated", |
| 18 | + "link": "http://<HOST>:1234/@test/publictestproject/contributions/1", |
19 | 19 | "payload": { |
20 | | - "branch": { |
21 | | - "branchContributorHandle": null, |
22 | | - "branchContributorUserId": null, |
23 | | - "branchId": "B-<UUID>", |
24 | | - "branchName": "newbranch", |
25 | | - "branchShortHand": "newbranch", |
26 | | - "projectBranchShortHand": "@test/publictestproject/newbranch" |
| 20 | + "contribution": { |
| 21 | + "author": { |
| 22 | + "avatarUrl": null, |
| 23 | + "handle": "test", |
| 24 | + "name": null, |
| 25 | + "userId": "U-<UUID>" |
| 26 | + }, |
| 27 | + "contributionId": "C-<UUID>", |
| 28 | + "description": "This contribution addresses an issue where users were unable to log in due to a validation error in the authentication process.\n\n## Changes made:\n\n* Modified the validation logic for the Auth type to properly authenticate users.\n* Added unit tests to ensure the authentication process works as expected.\n\n## Testing:\n\nI tested this change locally on my development environment and confirmed that users can now log in without any issues. All unit tests are passing.", |
| 29 | + "number": 1, |
| 30 | + "sourceBranch": { |
| 31 | + "branchContributorHandle": null, |
| 32 | + "branchContributorUserId": null, |
| 33 | + "branchId": "B-<UUID>", |
| 34 | + "branchName": "main", |
| 35 | + "branchShortHand": "main", |
| 36 | + "projectBranchShortHand": "@test/publictestproject/main" |
| 37 | + }, |
| 38 | + "status": "closed", |
| 39 | + "targetBranch": { |
| 40 | + "branchContributorHandle": "transcripts", |
| 41 | + "branchContributorUserId": "U-<UUID>", |
| 42 | + "branchId": "B-<UUID>", |
| 43 | + "branchName": "contribution", |
| 44 | + "branchShortHand": "@transcripts/contribution", |
| 45 | + "projectBranchShortHand": "@test/publictestproject/@transcripts/contribution" |
| 46 | + }, |
| 47 | + "title": "Fix issue with user authentication" |
27 | 48 | }, |
28 | 49 | "project": { |
29 | 50 | "projectId": "P-<UUID>", |
30 | 51 | "projectOwnerHandle": "test", |
31 | 52 | "projectOwnerUserId": "U-<UUID>", |
32 | 53 | "projectShortHand": "@test/publictestproject", |
33 | 54 | "projectSlug": "publictestproject" |
| 55 | + }, |
| 56 | + "status_update": { |
| 57 | + "newStatus": "closed", |
| 58 | + "oldStatus": "in_review" |
34 | 59 | } |
35 | 60 | } |
36 | 61 | }, |
37 | 62 | "id": "EVENT-<UUID>", |
38 | 63 | "occurredAt": "<TIMESTAMP>", |
| 64 | + "projectId": "P-<UUID>", |
39 | 65 | "resourceId": "RES-<UUID>", |
40 | 66 | "scope": { |
41 | 67 | "info": { |
|
0 commit comments