1 parent
a00231dd3c
commit
e6b9d4f273
22 files changed
+25
-25
No files matched your search
@@ -52,7 +52,7 @@ export class DonorController {
|
||||
async post(@Body({ validate: true }) createRunner: CreateDonor) {
|
||||
let donor;
|
||||
try {
|
||||
donor = await createRunner.toDonor();
|
||||
donor = await createRunner.toEntity();
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user