1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-30 18:49:41 +02:00

fix: validate OpenAPI spec (#1528)

* init api check test

* Fix openAPI issues

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Philipp Fischbeck 2022-08-07 02:54:29 +02:00 committed by GitHub
parent 505e594758
commit 34cd6eb687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 113 additions and 12 deletions

View file

@ -161,7 +161,7 @@ export default defineComponent({
if (!userCopy.value?.id) {
return;
}
const { response } = await api.users.changePassword(userCopy.value.id, {
const { response } = await api.users.changePassword({
currentPassword: password.current,
newPassword: password.newOne,
});