Compare commits
2 Commits
9517df5082
...
110387dbd3
Author | SHA1 | Date | |
---|---|---|---|
110387dbd3 | |||
2820f151e8 |
@ -80,7 +80,7 @@ export class DonationController {
|
|||||||
return (await this.donationRepository.findOne({ id: donation.id }, { relations: ['runner', 'donor', 'runner.scans', 'runner.scans.track'] })).toResponse();
|
return (await this.donationRepository.findOne({ id: donation.id }, { relations: ['runner', 'donor', 'runner.scans', 'runner.scans.track'] })).toResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Put('/:id')
|
@Put('/fixed/:id')
|
||||||
@Authorized("DONATION:UPDATE")
|
@Authorized("DONATION:UPDATE")
|
||||||
@ResponseSchema(ResponseDonation)
|
@ResponseSchema(ResponseDonation)
|
||||||
@ResponseSchema(DonationNotFoundError, { statusCode: 404 })
|
@ResponseSchema(DonationNotFoundError, { statusCode: 404 })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user