Skip to content

datasource not found error #116

@islam3rafah

Description

@islam3rafah

I am using the following configuration in application.ts but I am getting that
The key 'datasources.undefined' is not bound to any value in context:

this.bind(RateLimitSecurityBindings.CONFIG).to({
  RatelimitActionMiddleware: true,
  name: 'redis',
  type: 'RedisStore',
  windowMs: 10 * 1000,
  max: 3,
  message: "limit reached",
  standardHeaders: true
});
this.component(RateLimiterComponent as any);

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