Skip to content

database needs to be changed to db #32

Closed

Description

@kjellouli

Can't connect to redis, it results in ERR invalid db index. database in redis.datasource.ts needs to be changed to db in line:

database: process.env.REDIS_DATABASE,

as per:

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f574f4aa1344774ef08caf8c9e2f994c4e7fa30e/types/ioredis/index.d.ts#L948

Activity

  1. samarpan-b commented on Sep 16, 2019

    @samarpan-b
    Contributor

    Thanks for the update @kjellouli . Would you mind raising a PR for this ? I can merge it then.

  2. kjellouli commented on Sep 17, 2019

    @kjellouli
    ContributorAuthor
  3. samarpan-b commented on Sep 26, 2019

    @samarpan-b
    Contributor

    Merged

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