From 273b864dce9d0048ac8fccb370fd98ab2f242cc5 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Mon, 30 Oct 2017 17:38:50 +0000 Subject: [PATCH] add auth_type default to InvitedUser object we unpack the api invited user rest endpoint results straight into the InvitedUser object, so we should make sure that any fields added to the api response are mentioned here --- app/notify_client/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/notify_client/models.py b/app/notify_client/models.py index 0ca6d8991..bedbbd051 100644 --- a/app/notify_client/models.py +++ b/app/notify_client/models.py @@ -141,7 +141,7 @@ class User(UserMixin): class InvitedUser(object): - def __init__(self, id, service, from_user, email_address, permissions, status, created_at): + def __init__(self, id, service, from_user, email_address, permissions, status, created_at, auth_type=None): self.id = id self.service = str(service) self.from_user = from_user