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:
@ -5,10 +5,10 @@ import {formatISO} from 'date-fns'
|
||||
export default class ListService extends AbstractService {
|
||||
constructor() {
|
||||
super({
|
||||
getAll: '/lists/{listID}/shares',
|
||||
get: '/lists/{listID}/shares/{id}',
|
||||
create: '/lists/{listID}/shares',
|
||||
delete: '/lists/{listID}/shares/{id}',
|
||||
getAll: '/lists/{listId}/shares',
|
||||
get: '/lists/{listId}/shares/{id}',
|
||||
create: '/lists/{listId}/shares',
|
||||
delete: '/lists/{listId}/shares/{id}',
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user