mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Moved the _generate_token methods to the tokens_dao.
This commit is contained in:
@@ -31,6 +31,8 @@ class TemplateSchema(ma.ModelSchema):
|
||||
class TokenSchema(ma.ModelSchema):
|
||||
class Meta:
|
||||
model = models.Token
|
||||
exclude = ["service"]
|
||||
|
||||
|
||||
user_schema = UserSchema()
|
||||
users_schema = UserSchema(many=True)
|
||||
|
||||
Reference in New Issue
Block a user