diff --git a/src/core/client/framework/lib/rest.ts b/src/core/client/framework/lib/rest.ts index 9808a4555..c08e3c995 100644 --- a/src/core/client/framework/lib/rest.ts +++ b/src/core/client/framework/lib/rest.ts @@ -48,7 +48,10 @@ export class RestClient { this.tokenGetter = tokenGetter; } - public async fetch(path: string, options: PartialRequestInit): Promise { + public async fetch( + path: string, + options: PartialRequestInit + ): Promise { let opts = options; if (this.tokenGetter) { opts = merge({}, options, { diff --git a/src/core/client/framework/rest/signOff.ts b/src/core/client/framework/rest/signOff.ts index d181bd280..5a1904d7c 100644 --- a/src/core/client/framework/rest/signOff.ts +++ b/src/core/client/framework/rest/signOff.ts @@ -1,10 +1,7 @@ import { RestClient } from "../lib/rest"; -// tslint:disable-next-line:no-empty-interface -export interface SignOffResponse {} - export default function signOff(rest: RestClient) { - return rest.fetch("/tenant/auth/local", { + return rest.fetch("/tenant/auth/local", { method: "DELETE", }); }