Skip to content

Commit 86e2619

Browse files
authored
Merge pull request #461 from IQSS/460-include-name-in-guestbook-responses-api
Guestbook Response DTO Change Username to Name
2 parents 197579b + 14b1685 commit 86e2619

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/guestbooks/domain/models/GuestbookResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface GuestbookResponse {
77
fileName?: string
88
fileId?: number
99
filePid?: string
10-
userName: string
10+
name: string
1111
email?: string
1212
institution?: string
1313
position?: string

test/unit/guestbooks/GetGuestbookResponsesByGuestbookId.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('GetGuestbookResponsesByGuestbookId', () => {
2020
type: EventType.DOWNLOAD,
2121
fileName: 'dp_statistics_for_grade_grouped_by_student_id.html',
2222
fileId: 3,
23-
userName: 'Guest',
23+
name: 'Guest',
2424
email: 'guest@example.edu',
2525
customQuestions: [
2626
{

test/unit/guestbooks/GuestbooksRepository.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('GuestbooksRepository', () => {
6464
type: EventType.DOWNLOAD,
6565
fileName: 'dp_statistics_for_grade_grouped_by_student_id.html',
6666
fileId: 3,
67-
userName: 'Guest',
67+
name: 'Guest',
6868
email: 'guest@example.edu'
6969
}
7070
]

0 commit comments

Comments
 (0)