mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 16:12:32 -05:00
Added a new endpoint that can be used for organisation or service invitations.
The other two invitation endpoints will be removed once the admin app is updated.
This commit is contained in:
@@ -246,11 +246,6 @@ class Organisation(db.Model):
|
||||
'Service',
|
||||
secondary='organisation_to_service',
|
||||
uselist=True)
|
||||
#
|
||||
# users = db.relationship(
|
||||
# 'User',
|
||||
# secondary=user_to_organisation,
|
||||
# backref=db.backref('user_to_organisation', lazy='dynamic'))
|
||||
|
||||
def serialize(self):
|
||||
serialized = {
|
||||
|
||||
Reference in New Issue
Block a user