Skip to content

Commit

Permalink
APP CONTROLLER - fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifycode committed Jul 12, 2024
1 parent 88a8be6 commit 80a7be8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions @api-server/api/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,17 @@ export interface ApiInfo {
};
}

const contributors: string[] = ['Kehinde Bandipo', 'Mary Obiagba'];

export const getAppController = async (req: Request, res: Response) => {
const apiInfo: ApiInfo = {
name: 'Collabocate API',
description: 'Live updates to and from Github REST API',
built_at: 'Collabo Community [Code Collabo tech arm]',
name: 'Collabocate [GitHubSync] API',
description: 'Live updates to and from user interface via the Github REST API',
built_at: 'Collabo Community [Code Collabo]',
github: {
repository: 'https://github.com/collabo-community/collabocate',
},
contributors: {
count: contributors.length,
list: contributors,
count: 4, // TODO: Dynamically get the list of contributors from GitHub
list: ['Find list of contributors in project README: https://github.com/collabo-community/collabocate?tab=readme-ov-file#contributors'],
},
};
res.status(200).json(apiInfo);
Expand Down

0 comments on commit 80a7be8

Please sign in to comment.