Skip to content

Commit

Permalink
Change the jwt import
Browse files Browse the repository at this point in the history
See auth0/node-jsonwebtoken#875

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia committed Jan 10, 2023
1 parent b00ed46 commit fd6eb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/src/shared/Auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { grpc } from "@improbable-eng/grpc-web";
import { AxiosResponse } from "axios";
import { CheckNamespaceExistsRequest } from "gen/kubeappsapis/plugins/resources/v1alpha1/resources";
import * as jwt from "jsonwebtoken";
import jwt from "jsonwebtoken";
import { Auth } from "./Auth";
import { SupportedThemes } from "./Config";
import { KubeappsGrpcClient } from "./KubeappsGrpcClient";
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/shared/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import { grpc } from "@improbable-eng/grpc-web";
import { AxiosResponse } from "axios";
import * as jwt from "jsonwebtoken";
import jwt from "jsonwebtoken";
import { get } from "lodash";
import { IConfig } from "./Config";
import { KubeappsGrpcClient } from "./KubeappsGrpcClient";
Expand Down

0 comments on commit fd6eb6c

Please sign in to comment.