Skip to content

Web push subscriptions are not removed in broadcasting #30

@hecsalazarf

Description

@hecsalazarf

Subscription are not removed when they failed during broadcasting

// TODO Specify error for each user  because now the code does not
    // have the relationship error<->subscription per user
    if (await this.handleErrors(res, '#') === res.length) {
      // if all responses are errors, reject
      throw new Error('None message was delivered. All subscriptions were invalid'); // TODO return error array
    }

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions