mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-04 10:11:33 +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()
 | 
					#### checkToken()
 | 
				
			||||||
 * API >= 1.2
 | 
					 * API >= 1.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
returns ok when api token is valid
 | 
					returns ok when the current api token is valid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*Example returns:*
 | 
					*Example returns:*
 | 
				
			||||||
  * `{"code":0,"message":"ok","data":null}`
 | 
					  * `{"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:
 | 
					Example returns:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user