From 621b1730306e7856ed6d040a51e82b71888f9384 Mon Sep 17 00:00:00 2001 From: sushmita-m <63236940+sushmita-m@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:56:50 +0530 Subject: [PATCH] Update subscriptions.md --- subscriptions.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/subscriptions.md b/subscriptions.md index 2a973e5..e1c5b47 100644 --- a/subscriptions.md +++ b/subscriptions.md @@ -20,9 +20,7 @@ We get the _ghInstallationId_ from **chatopsinstallations** table (_chatOpsInsta We get the _ghArtifactId_, _ghArtifactType_ from the chatopssubscriptions table. -_ghInstallationId_ is used to get authorization to the github client which will be used to make the api calls to get details about the artifact (This will tell us if the app has been uninstalled from the repo/account after the subscription). - -**The following details are passed to the GithubApi:** +_ghInstallationId_ is used to get authorization * if _ghArtifactType_ is 'Repo': _ghArtifactId_ is passed, it contains the repository id. * if _ghArtifactType_is 'Account': _ghArtifactId_ is passed, it contains the user id.