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
14 lines
No EOL
220 B
JavaScript
14 lines
No EOL
220 B
JavaScript
import UserModel from './user'
|
|
import {merge} from 'lodash'
|
|
|
|
export default class TeamMemberModel extends UserModel {
|
|
defaults() {
|
|
return merge(
|
|
super.defaults(),
|
|
{
|
|
admin: false,
|
|
teamId: 0,
|
|
}
|
|
)
|
|
}
|
|
} |