Skip to content

Commit 4a464c7

Browse files
feat: New field in Note's schema
Now you can send creatorId field from database to use it in frontend
1 parent 71fb7fb commit 4a464c7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/presentation/http/schema

src/presentation/http/schema/Note.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ export const NoteSchema = {
3737
type: 'string',
3838
format: 'date-time',
3939
},
40+
creatorId: {
41+
type: 'number',
42+
},
4043
},
4144
};

0 commit comments

Comments
 (0)