Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

UserGroup undefined error when activating GroupInvitation. #81

@xanderjakeq

Description

@xanderjakeq

(Assuming #76 is resolved)

I got UserGroup undefined errors when activating a GroupInvitation.
The line below would be the problem.

https://github.com/blockstack/radiks/blob/0d97225e9b828d5348960236fdd4b83c266cbdaa/src/models/group-membership.ts#L91

The code above is trying to get the UserGroup of a GroupMembership model.

https://github.com/blockstack/radiks/blob/0d97225e9b828d5348960236fdd4b83c266cbdaa/src/models/group-membership.ts#L40

When the GroupMembership's UserGroup is deleted, it makes sense that the error would occur.

Should radiks handle this situation or should the app dev? @hstove

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions