Skip to content

Commit

Permalink
rename publicID to referenceID
Browse files Browse the repository at this point in the history
The `publicID` was changed to `referenceID` on the DSA report model.
Update the report details model on the notifications to match.
  • Loading branch information
nick-funk committed Nov 3, 2023
1 parent 1f9b5d0 commit 990b952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const NotificationDSAReportDetailsResolver: Required<
GQLNotificationDSAReportDetailsTypeResolver<DSAReport>
> = {
id: ({ id }) => id,
publicID: ({ publicID }) => publicID,
referenceID: ({ referenceID }) => referenceID,
comment: async ({ commentID }, input, ctx) => {
if (!commentID) {
return null;
Expand Down
4 changes: 2 additions & 2 deletions server/src/core/server/graph/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4643,10 +4643,10 @@ type NotificationDSAReportDetails {
id: ID!

"""
publicID is the public identifier that is human readable
referenceID is the friendly identifier that is human readable
for the DSA report.
"""
publicID: String!
referenceID: String!

"""
comment is the comment associated with the DSA report.
Expand Down

0 comments on commit 990b952

Please sign in to comment.