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
@@ -2,13 +2,11 @@ import { commitLocalUpdate, Environment } from "relay-runtime";
import { TalkContext } from "talk-framework/lib/bootstrap";
import { createMutationContainer } from "talk-framework/lib/relay";
import { LOCAL_ID } from "talk-framework/lib/relay/withLocalStateContainer";
import { SignOffInput } from "talk-framework/rest";
export type SignOffMutation = (input: SignOffInput) => Promise<void>;
export type SignOffMutation = () => Promise<void>;
export async function commit(
environment: Environment,
input: SignOffInput,
{ localStorage }: TalkContext
) {
return commitLocalUpdate(environment, store => {