import { createBankAccountForUser , removeBankAccountById } from "../../database" ; const Mutation = { createBankAccount : ( obj , args , ctx ) => { const account = createBankAccountForUser ( ctx . user . id ! , args ) ; return account ; } , deleteBankAccount : ( obj , args , ctx ) => { removeBankAccountById ( args . id ) ; return true ; } , } ; export default Mutation ;