Skip to content

Commit

Permalink
attachment file key hidden from output
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdinazor committed Jan 17, 2022
1 parent 0235183 commit f360fc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/note_service/modules/rest/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class Note(Schema):
updated_date = fields.DateTime(dump_only=True)
created_by = fields.String(dump_only=True)
updated_by = fields.String(dump_only=True)

class Meta:
exclude = ('attachment_file_key', )


class NoteSearch(Note):
Expand Down

0 comments on commit f360fc3

Please sign in to comment.