From de8c3a54f896fe72cc1f887e08ce45e220e64d45 Mon Sep 17 00:00:00 2001
From: Gregor Martynus <39992+gr2m@users.noreply.github.com>
Date: Wed, 22 Jun 2022 11:11:39 -0700
Subject: [PATCH] fix: set correct user agent (#2231)

---
 src/octokit.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/octokit.ts b/src/octokit.ts
index e86a87d3f5..6654382c6f 100644
--- a/src/octokit.ts
+++ b/src/octokit.ts
@@ -12,7 +12,7 @@ export const Octokit = OctokitCore.plugin(
   retry,
   throttling
 ).defaults({
-  userAgent: `octokit-rest.js/${VERSION}`,
+  userAgent: `octokit.js/${VERSION}`,
   throttle: {
     onRateLimit,
     onAbuseLimit,