Make all api fields snake_case (#105)
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
This commit is contained in:
@ -8,8 +8,8 @@ export default class UserNamespaceService extends AbstractService {
|
||||
super({
|
||||
create: '/namespaces/{namespaceID}/users',
|
||||
getAll: '/namespaces/{namespaceID}/users',
|
||||
update: '/namespaces/{namespaceID}/users/{userID}',
|
||||
delete: '/namespaces/{namespaceID}/users/{userID}',
|
||||
update: '/namespaces/{namespaceID}/users/{userId}',
|
||||
delete: '/namespaces/{namespaceID}/users/{userId}',
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user