mirror of
https://github.com/outline/outline.git
synced 2026-12-02 01:34:47 +03:00
test
This commit is contained in:
1 file changed
+1
-2
@@ -24,14 +24,13 @@ export default function presentOAuthClient(oauthClient: OAuthClient) {
|
||||
|
||||
/**
|
||||
* Important: This function is used to present the OAuth client to users
|
||||
* that are not in the same workspace as the client. Be very careful about
|
||||
* that are NOT in the same workspace as the client. Be very careful about
|
||||
* what you expose here.
|
||||
*
|
||||
* @param oauthClient The OAuth client to present
|
||||
*/
|
||||
export function presentPublishedOAuthClient(oauthClient: OAuthClient) {
|
||||
return {
|
||||
id: oauthClient.id,
|
||||
name: oauthClient.name,
|
||||
description: oauthClient.description,
|
||||
developerName: oauthClient.developerName,
|
||||
|
||||
Reference in new issue
Block a user