rename endpoint
This commit is contained in:
1 parent
c8857f06ac
commit
71e5830d6c
5 files changed
+7
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { USERS_ENDPOINT } from '../constants/Endpoints';
|
||||
import { SECURITY_SETTINGS_ENDPOINT } from '../constants/Endpoints';
|
||||
import { restComponent } from '../components/RestComponent';
|
||||
import ManageUsersForm from '../forms/ManageUsersForm';
|
||||
import SectionContent from '../components/SectionContent';
|
||||
@@ -30,4 +30,4 @@ class ManageUsers extends Component {
|
||||
|
||||
}
|
||||
|
||||
export default restComponent(USERS_ENDPOINT, ManageUsers);
|
||||
export default restComponent(SECURITY_SETTINGS_ENDPOINT, ManageUsers);
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { USERS_ENDPOINT } from '../constants/Endpoints';
|
||||
import { SECURITY_SETTINGS_ENDPOINT } from '../constants/Endpoints';
|
||||
import { restComponent } from '../components/RestComponent';
|
||||
import SecuritySettingsForm from '../forms/SecuritySettingsForm';
|
||||
import SectionContent from '../components/SectionContent';
|
||||
@@ -29,4 +29,4 @@ class SecuritySettings extends Component {
|
||||
|
||||
}
|
||||
|
||||
export default restComponent(USERS_ENDPOINT, SecuritySettings);
|
||||
export default restComponent(SECURITY_SETTINGS_ENDPOINT, SecuritySettings);
|
||||
Reference in new issue
Block a user