removing input from user signOff

This commit is contained in:
Belén Curcio
2018-08-22 09:48:06 -03:00
parent e9db68269b
commit 7b5a87207b
6 changed files with 6 additions and 21 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
export { default as signIn, SignInInput } from "./signIn";
export { default as signUp, SignUpInput } from "./signUp";
export { default as signOff, SignOffInput } from "./signOff";
export { default as signOff } from "./signOff";
+1 -4
View File
@@ -1,12 +1,9 @@
import { RestClient } from "../lib/rest";
// tslint:disable-next-line:no-empty-interface
export interface SignOffInput {}
// tslint:disable-next-line:no-empty-interface
export interface SignOffResponse {}
export default function signOff(rest: RestClient, input: SignOffInput) {
export default function signOff(rest: RestClient) {
return rest.fetch<SignOffResponse>("/tenant/auth/local", {
method: "DELETE",
});