Skip to content

Commit

Permalink
Add back the create subscription (#2993)
Browse files Browse the repository at this point in the history
Related to flutter/flutter#132066

Will need this endpoint actively running in order to add additional logic
  • Loading branch information
drewroengoogle authored Aug 16, 2023
1 parent e424a7b commit 9929643
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app_dart/bin/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'dart:math';

import 'package:appengine/appengine.dart';
import 'package:cocoon_service/cocoon_service.dart';
import 'package:cocoon_service/src/request_handlers/github/branch_subscription.dart';
import 'package:gcloud/db.dart';

/// For local development, you might want to set this to true.
Expand Down Expand Up @@ -94,6 +95,11 @@ Future<void> main() async {
githubChecksService: githubChecksService,
scheduler: scheduler,
),
'/api/github/webhook-branch-subscription': GithubBranchWebhookSubscription(
config: config,
cache: cache,
branchService: branchService,
),

/// API to run authenticated graphql queries. It requires to pass the graphql query as the body
/// of a POST request.
Expand Down

0 comments on commit 9929643

Please sign in to comment.