Skip to content

Commit

Permalink
🐛 Update Metadata of github connector
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 committed Jul 27, 2024
1 parent b54b3a5 commit 539856c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/ticketing/ticket/services/github/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class GithubService implements ITicketService {
});

const resp = await axios.get(
`${connection.account_url}/issues?filer=all`,
`${connection.account_url}/issues?filter=all&state=open`,
{
headers: {
'Content-Type': 'application/json',
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/connectors/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,15 +480,15 @@ export const CONNECTORS_METADATA: ProvidersConfig = {
}
},
'github': {
scopes: 'repo user project',
scopes: 'repo user project read:org repo:status write:repo_hook',
urls: {
docsUrl: 'https://docs.github.com/fr/rest',
apiUrl: 'https://api.github.com',
authBaseUrl: 'https://github.com/login/oauth/authorize',
},
logoPath: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRqz0aID6B-InxK_03P7tCtqpXNXdawBcro67CyEE0I5g&s',
description: 'Sync & Create accounts, tickets, comments, attachments, contacts, tags, teams and users',
active: false,
active: true,
authStrategy: {
strategy: AuthStrategy.oauth2
}
Expand Down

0 comments on commit 539856c

Please sign in to comment.