Skip to content

Commit

Permalink
#3074-fixed service
Browse files Browse the repository at this point in the history
  • Loading branch information
caiodasilva2005 committed Dec 20, 2024
1 parent 5a7cb3d commit e71442b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/backend/src/services/announcement.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default class AnnouncementService {
static async createAnnouncement(
text: string,
usersReceivedIds: string[],
dateCreated: Date,
senderName: string,
slackEventId: string,
slackChannelName: string,
Expand All @@ -33,7 +32,6 @@ export default class AnnouncementService {
userId: id
}))
},
dateCreated,
senderName,
slackEventId,
slackChannelName
Expand Down
2 changes: 0 additions & 2 deletions src/backend/tests/unmocked/users.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ describe('User Tests', () => {
await AnnouncementService.createAnnouncement(
'test1',
[testBatman.userId],
new Date(),
'Thomas Emrax',
'1',
'software',
Expand All @@ -103,7 +102,6 @@ describe('User Tests', () => {
await AnnouncementService.createAnnouncement(
'test2',
[testBatman.userId],
new Date(),
'Superman',
'50',
'mechanical',
Expand Down

0 comments on commit e71442b

Please sign in to comment.