mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-04 02:01:30 +01:00 
			
		
		
		
	Merge pull request #1318 from stephan48/develop
Corrected Documentation for checkToken() API Method
This commit is contained in:
		
						commit
						6e7b694243
					
				@ -414,7 +414,7 @@ sends a custom message of type `msg` to the pad
 | 
			
		||||
#### checkToken()
 | 
			
		||||
 * API >= 1.2
 | 
			
		||||
 | 
			
		||||
returns ok when api token is valid
 | 
			
		||||
returns ok when the current api token is valid
 | 
			
		||||
 | 
			
		||||
*Example returns:*
 | 
			
		||||
  * `{"code":0,"message":"ok","data":null}`
 | 
			
		||||
 | 
			
		||||
@ -549,7 +549,7 @@ exports.sendClientsMessage = function (padID, msg, callback) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
checkToken() returns ok when api token is valid
 | 
			
		||||
checkToken() returns ok when the current api token is valid
 | 
			
		||||
 | 
			
		||||
Example returns:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user