Skip to content

Commit

Permalink
Merge pull request #1 from ksimenic/bug/hardcoded-app-id
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwh authored Jun 3, 2022
2 parents 1318fdb + ededc0f commit 1f6ac38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/NewRelicDeployCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function handle(): int

$nr = Http::withHeaders(['Api-Key' => config('new-relic.deployments.api_key')])
->asJson()
->post(config('new-relic.deployments.endpoint') . 'applications/380122200/deployments.json', [
->post(config('new-relic.deployments.endpoint') . 'applications/' . config('new-relic.deployments.app_id') . '/deployments.json', [
'deployment' => [
'revision' => $revision,
'description' => $this->argument('description'),
Expand Down

0 comments on commit 1f6ac38

Please sign in to comment.