Skip to content

Commit

Permalink
minor fix bug addComplaint
Browse files Browse the repository at this point in the history
  • Loading branch information
XSmas29 committed Oct 14, 2024
1 parent 5851f9c commit fda96ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resolvers/Complaint.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class ComplaintResolver {

await uploadFile(imageData, `complaint/${complaintData.id}`, path)
complaintData.image = path
complaintData.save()
}

return {
Expand Down

0 comments on commit fda96ac

Please sign in to comment.