Skip to content

Commit bd3faf7

Browse files
committed
typo
1 parent 742d544 commit bd3faf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/donations/donations.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ export class DonationService {
335335
}
336336

337337
if (donation.status !== DonationStatus.AVAILABLE) {
338-
throw new BadRequestException(`Only available donations can be deleted`);
338+
throw new BadRequestException(`Only available donations can be updated`);
339339
}
340340

341341
const existingItems = donation.donationItems || [];

0 commit comments

Comments
 (0)