4a413e7f3c
Change all snake/camelCase mix and match to camelCase everywhere Fix conversion to not interfer with service interceptors Add dynamic conversion between camelCase and snake_case to services Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/105
17 lines
No EOL
292 B
JavaScript
17 lines
No EOL
292 B
JavaScript
import AbstractModel from "./abstractModel";
|
|
|
|
export default class PasswordResetModel extends AbstractModel {
|
|
constructor(data) {
|
|
super(data)
|
|
|
|
this.token = localStorage.getItem('passwordResetToken')
|
|
}
|
|
|
|
defaults() {
|
|
return {
|
|
token: '',
|
|
newPassword: '',
|
|
email: '',
|
|
}
|
|
}
|
|
} |