File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,16 @@ const Parse = {
80
80
CoreManager . setLocalDatastoreController ( controller ) ;
81
81
} ,
82
82
83
+ /**
84
+ * Returns information regarding the current server's health
85
+ *
86
+ * @returns {Promise }
87
+ * @static
88
+ */
89
+ getServerHealth ( ) {
90
+ return CoreManager . getRESTController ( ) . request ( 'GET' , 'health' ) ;
91
+ } ,
92
+
83
93
/**
84
94
* @member {string} Parse.applicationId
85
95
* @static
@@ -228,9 +238,6 @@ Parse.LiveQuery = require('./ParseLiveQuery').default;
228
238
Parse . LiveQueryClient = require ( './LiveQueryClient' ) . default ;
229
239
Parse . IndexedDB = require ( './IndexedDBStorageController' ) ;
230
240
231
- Parse . getServerHealth = function ( ) {
232
- return CoreManager . getRESTController ( ) . request ( 'GET' , 'health' ) ;
233
- } ;
234
241
Parse . _request = function ( ...args ) {
235
242
return CoreManager . getRESTController ( ) . request . apply ( null , args ) ;
236
243
} ;
You can’t perform that action at this time.
0 commit comments