mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 18:23:18 -04:00 
			
		
		
		
	fix(backend): 🐛 Fix CI/CD Linting Failures
This commit is contained in:
		| @@ -108,6 +108,7 @@ export default defineComponent({ | ||||
|     }); | ||||
|  | ||||
|     async function updateUser() { | ||||
|       // @ts-ignore | ||||
|       const { response } = await api.users.updateOne(userCopy.value.id, userCopy.value); | ||||
|       if (response?.status === 200) { | ||||
|         context.emit(events.REFRESH); | ||||
| @@ -151,17 +152,22 @@ export default defineComponent({ | ||||
|     //   } | ||||
|     // }, | ||||
|     async changePassword() { | ||||
|       // @ts-ignore | ||||
|       this.paswordLoading = true; | ||||
|       const data = { | ||||
|         currentPassword: this.password.current, | ||||
|         newPassword: this.password.newOne, | ||||
|       }; | ||||
|  | ||||
|       // @ts-ignore | ||||
|       if (this.$refs.passChange.validate()) { | ||||
|         // @ts-ignore | ||||
|         if (await api.users.changePassword(this.user.id, data)) { | ||||
|           this.$emit("refresh"); | ||||
|         } | ||||
|       } | ||||
|  | ||||
|       // @ts-ignore | ||||
|       this.paswordLoading = false; | ||||
|     }, | ||||
|   }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user