mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
tests: Simplify API key reading
Also delete unused imports.
This commit is contained in:
parent
ce0b151159
commit
048bd0f50d
12 changed files with 29 additions and 67 deletions
|
@ -196,3 +196,7 @@ exports.handle = async function(apiVersion, functionName, fields, req, res)
|
|||
// call the api function
|
||||
return api[functionName].apply(this, functionParams);
|
||||
}
|
||||
|
||||
exports.exportedForTestingOnly = {
|
||||
apiKey: apikey,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue