File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff 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+
6858function processCreateUser ( data ) {
6959 if ( util . wasSuccessful ( data ) ) {
7060 return data [ 0 ] . success ;
You can’t perform that action at this time.
0 commit comments