mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
feat: add field my_issues_prop to store my_issues property
This commit is contained in:
parent
eae7e68947
commit
5807632ee4
@ -52,7 +52,6 @@ class PeopleEndpoint(BaseAPIView):
|
|||||||
class UserEndpoint(BaseViewSet):
|
class UserEndpoint(BaseViewSet):
|
||||||
serializer_class = UserSerializer
|
serializer_class = UserSerializer
|
||||||
model = User
|
model = User
|
||||||
serializers = {}
|
|
||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
return self.request.user
|
return self.request.user
|
||||||
|
@ -66,6 +66,7 @@ class User(AbstractBaseUser, PermissionsMixin):
|
|||||||
last_login_uagent = models.TextField(blank=True)
|
last_login_uagent = models.TextField(blank=True)
|
||||||
token_updated_at = models.DateTimeField(null=True)
|
token_updated_at = models.DateTimeField(null=True)
|
||||||
last_workspace_id = models.UUIDField(null=True)
|
last_workspace_id = models.UUIDField(null=True)
|
||||||
|
my_issues_prop = models.JSONField(null=True)
|
||||||
|
|
||||||
USERNAME_FIELD = "email"
|
USERNAME_FIELD = "email"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user