mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
use renamed mutation instead of badly named query
This commit is contained in:
parent
a0eb707375
commit
d4415ee256
@ -21,7 +21,7 @@ const createMockObject = (comingFrom) => {
|
||||
push: mockRouterPush,
|
||||
},
|
||||
$apollo: {
|
||||
query: mockAPIcall,
|
||||
mutate: mockAPIcall,
|
||||
},
|
||||
$route: {
|
||||
params: {
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { sendResetPasswordEmail } from '@/graphql/queries'
|
||||
import { forgotPassword } from '@/graphql/mutations'
|
||||
import InputEmail from '@/components/Inputs/InputEmail'
|
||||
|
||||
export default {
|
||||
@ -59,8 +59,8 @@ export default {
|
||||
methods: {
|
||||
async onSubmit() {
|
||||
this.$apollo
|
||||
.query({
|
||||
query: sendResetPasswordEmail,
|
||||
.mutate({
|
||||
mutation: forgotPassword,
|
||||
variables: {
|
||||
email: this.form.email,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user