Skip to content

Commit

Permalink
chore: add webhooks to version
Browse files Browse the repository at this point in the history
  • Loading branch information
TomKortyka committed May 8, 2024
1 parent c42cfcb commit ea966b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/azkaban-gateway/src/app/version/version.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ export class VersionController {
const auth = await this.service.getAuthVersion();
const groups = await this.service.getGroupsVersion();
const users = await this.service.getUsersVersion();
const webhooks = await this.service.getWebhooksVersion();
//
return {
...gateway,
...webhooks,
...auth,
...groups,
...users,
Expand Down
6 changes: 6 additions & 0 deletions apps/azkaban-gateway/src/app/version/version.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ export class VersionService {
users: 'not available',
};
}

async getWebhooksVersion() {
return {
webhooks: 'not available',
};
}
}

0 comments on commit ea966b2

Please sign in to comment.