fix(core): update
This commit is contained in:
		| @@ -52,7 +52,7 @@ export class TinkAccount { | ||||
|     return clientAccessToken; | ||||
|   } | ||||
|  | ||||
|   public async getUserAuthroizationCode( | ||||
|   public async getUserAuthorizationCode( | ||||
|     externalUserIdArg: string, | ||||
|     actorCLientIdArg: string, | ||||
|     scopeArg: string | ||||
| @@ -131,7 +131,7 @@ export class TinkAccount { | ||||
|   } | ||||
|  | ||||
|   public async getTinkLinkCode(externalUserIdArg: string) { | ||||
|     const authorizationCode = this.getUserAuthroizationCode( | ||||
|     const authorizationCode = this.getUserAuthorizationCode( | ||||
|       externalUserIdArg, | ||||
|       'df05e4b379934cd09963197cc855bfe9', | ||||
|       'authorization:read,authorization:grant,credentials:refresh,credentials:read,credentials:write,providers:read,user:read' | ||||
|   | ||||
| @@ -38,7 +38,7 @@ export class TinkUser { | ||||
|    * deletes the user | ||||
|    */ | ||||
|   public async delete() { | ||||
|     const authorizationCode = await this.tinkAccountRef.getUserAuthroizationCode(this.externalUserIdArg, this.tinkAccountRef.clientId, 'user:delete'); | ||||
|     const authorizationCode = await this.tinkAccountRef.getUserAuthorizationCode(this.externalUserIdArg, this.tinkAccountRef.clientId, 'user:delete'); | ||||
|     const accessToken = await this.tinkAccountRef.getUserAccessToken(authorizationCode); | ||||
|     const response = await this.tinkAccountRef.request({ | ||||
|       methodArg: 'POST', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user