Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Bug in posts.js - Not filtering out deleted posts #7

Description

@samburden

The getAll function in posts.js has a bug that causes deleted posts to not be filtered out. On line 60 there is the following let filtered_keys = keys.filter(key => !posts.deleted) but that should be let filtered_keys = keys.filter(key => !posts[key].deleted)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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