brought api keys from admin to user level with app install#2
Merged
DexterStorey merged 3 commits intotedspare/cleanupfrom Aug 28, 2023
Merged
brought api keys from admin to user level with app install#2DexterStorey merged 3 commits intotedspare/cleanupfrom
DexterStorey merged 3 commits intotedspare/cleanupfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
DexterStorey
commented
Aug 28, 2023
Author
There was a problem hiding this comment.
should let user book with only subject or body
DexterStorey
commented
Aug 28, 2023
| const { hash: apiKeyHashed, initVector: apiKeyIV } = encrypt(env.CAL_API_KEY); | ||
| const userId = user.id.toString(); | ||
| const { hash: apiKeyHashed, initVector: apiKeyIV } = encrypt(key); | ||
| const { hash: userIdHashed, initVector: userIdIV } = encrypt(user.id.toString()); |
DexterStorey
commented
Aug 28, 2023
| apiKeyIV: string; | ||
| }) => { | ||
| // TODO: fix | ||
| return [ |
Author
There was a problem hiding this comment.
getEventTypes is failing in main on cal side
DexterStorey
commented
Aug 28, 2023
| }; | ||
|
|
||
| export default handler; | ||
| import type { NextApiRequest, NextApiResponse } from "next"; |
Author
There was a problem hiding this comment.
this works to create the api key and put it in creds - but app doesn't show installed on FE - even though it is.
Author
|
Build Pass - LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes # (issue)
Requirement/Documentation
Type of change
How should this be tested?
Mandatory Tasks
Checklist