mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
feat(polling-groups): can invite multiple people to have their gmail/outlook inboxes connected to a workflow (#2695)
* progress on cred sets * fix credential set system * return data to render credential set in block preview * progress * invite flow * simplify code * fix ui * fix tests * fix types * fix * fix icon for outlook * fix cred set name not showing up for owner * fix rendering of credential set name * fix outlook well known folder id resolution * fix perms for creating cred set * add to docs and simplify ui * consolidate webhook code better * fix tests * fix credential collab logic issue * fix ui * fix lint
This commit is contained in:
committed by
GitHub
parent
cb12ceb82c
commit
020037728d
@@ -253,9 +253,8 @@ export async function executeTool(
|
||||
try {
|
||||
const baseUrl = getBaseUrl()
|
||||
|
||||
// Prepare the token payload
|
||||
const tokenPayload: OAuthTokenPayload = {
|
||||
credentialId: contextParams.credential,
|
||||
credentialId: contextParams.credential as string,
|
||||
}
|
||||
|
||||
// Add workflowId if it exists in params, context, or executionContext
|
||||
|
||||
@@ -122,7 +122,9 @@ export interface TableRow {
|
||||
}
|
||||
|
||||
export interface OAuthTokenPayload {
|
||||
credentialId: string
|
||||
credentialId?: string
|
||||
credentialAccountUserId?: string
|
||||
providerId?: string
|
||||
workflowId?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user