Skip to content

Commit 23a1797

Browse files
authored
Merge pull request #23 from pfabri/patch-1
Small correction: class User() is NOT a resource
2 parents 8e73277 + d176f19 commit 23a1797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

section5/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from flask_restful import Resource, reqparse
33

44

5-
class User(Resource):
5+
class User():
66
TABLE_NAME = 'users'
77

88
def __init__(self, _id, username, password):

0 commit comments

Comments
 (0)