feat(ui) - metrics post endpoint change
This commit is contained in:
parent
3e7634c043
commit
c1ff8f4157
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ import { withRouter } from 'react-router';
|
|||
|
||||
const OVERVIEW = 'overview';
|
||||
const PERFORMANCE = 'performance';
|
||||
const ERRORS_N_CRASHES = 'errors_n_crashes';
|
||||
const ERRORS_N_CRASHES = 'errors';
|
||||
const RESOURCES = 'resources';
|
||||
const CUSTOM_METRICS = 'custom_metrics';
|
||||
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ export function resendEmailVerification(email) {
|
|||
export function updateAppearance(appearance) {
|
||||
return {
|
||||
types: UPDATE_APPEARANCE.toArray(),
|
||||
call: client => client.post('/account', {
|
||||
call: client => client.post('/account/appearance', {
|
||||
appearance: Record.isRecord(appearance) ? appearance.toData() : appearance
|
||||
}),
|
||||
appearance,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue