Skip to content

Commit 491070b

Browse files
committed
Fixing bad merge
1 parent 80a6e44 commit 491070b

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

lib/api/http/endpoints/configuration.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,17 @@ module.exports = {
4444
.acceptJson()
4545
.uri('/<username>')
4646
.pureJson(),
47-
}
4847

49-
function getUnAuthenticatedConfig() {
50-
return new ApiEndpoint()
48+
getUnauthenticatedConfig: new ApiEndpoint()
5149
.get()
5250
.acceptJson()
5351
.uri('/config')
5452
.pureJson()
55-
.postProcess(processUnauthenticatedData);
56-
}
57-
58-
module.exports = {
59-
createUser: createUser(),
60-
getConfiguration: getConfiguration(),
61-
updateConfiguration: updateConfiguration(),
62-
deleteUser: deleteUser(),
63-
getFullState: getFullState(),
64-
getUnauthenticatedConfig: getUnAuthenticatedConfig(),
53+
.postProcess(processUnauthenticatedData),
6554
};
6655

6756

57+
6858
function processCreateUser(data) {
6959
if (util.wasSuccessful(data)) {
7060
return data[0].success;

0 commit comments

Comments
 (0)