Skip to content

Commit 56b6e71

Browse files
fixed schema in e-book
1 parent dcc12d2 commit 56b6e71

File tree

1 file changed

+1
-1
lines changed
  • docs/docs/05_flask_smorest/07_marshmallow_schemas

1 file changed

+1
-1
lines changed

docs/docs/05_flask_smorest/07_marshmallow_schemas/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ItemSchema(Schema):
3737
id = fields.Str(dump_only=True)
3838
name = fields.Str(required=True)
3939
price = fields.Float(required=True)
40-
store_id = fields.Int(required=True)
40+
store_id = fields.Str(required=True)
4141
```
4242

4343
A couple of weird things maybe!

0 commit comments

Comments
 (0)