Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request/Hint] Support of specific quip instances #55

Open
bass000 opened this issue Aug 30, 2024 · 0 comments
Open

[Feature Request/Hint] Support of specific quip instances #55

bass000 opened this issue Aug 30, 2024 · 0 comments

Comments

@bass000
Copy link

bass000 commented Aug 30, 2024

Our company uses a specific endpoint for quip: quip-COMPANY.com

That would be a nice feature to have this as a parameter.

As a workaround, hardcoding and then running from the code npx quip-export works:

diff --git a/lib/QuipService.js b/lib/QuipService.js
index 79d940b..31a10e3 100644
--- a/lib/QuipService.js
+++ b/lib/QuipService.js
@@ -4,7 +4,7 @@ const LoggerAdapter = require('./common/LoggerAdapter');
 const TIMES_LIMIT_503 = 10;

 class QuipService {
-    constructor(accessToken, apiURL='https://platform.quip.com:443/1') {
+    constructor(accessToken, apiURL='https://platform.quip-COMPANY.com:443/1') {
         this.accessToken = accessToken;
         this.apiURL = apiURL;
         this.logger = new LoggerAdapter();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant