Skip to content

Commit 735928c

Browse files
Commit via running: make Sources/users
1 parent 5b17efc commit 735928c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/users/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2798,7 +2798,7 @@ public struct Client: APIProtocol {
27982798
///
27992799
/// Adds a public SSH key to the authenticated user's GitHub account.
28002800
///
2801-
/// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint.
2801+
/// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint.
28022802
///
28032803
/// - Remark: HTTP `POST /user/keys`.
28042804
/// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.

Sources/users/Types.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public protocol APIProtocol: Sendable {
170170
///
171171
/// Adds a public SSH key to the authenticated user's GitHub account.
172172
///
173-
/// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint.
173+
/// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint.
174174
///
175175
/// - Remark: HTTP `POST /user/keys`.
176176
/// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
@@ -720,7 +720,7 @@ extension APIProtocol {
720720
///
721721
/// Adds a public SSH key to the authenticated user's GitHub account.
722722
///
723-
/// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint.
723+
/// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint.
724724
///
725725
/// - Remark: HTTP `POST /user/keys`.
726726
/// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
@@ -8066,7 +8066,7 @@ public enum Operations {
80668066
///
80678067
/// Adds a public SSH key to the authenticated user's GitHub account.
80688068
///
8069-
/// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint.
8069+
/// OAuth app tokens and personal access tokens (classic) need the `write:public_key` scope to use this endpoint.
80708070
///
80718071
/// - Remark: HTTP `POST /user/keys`.
80728072
/// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.

0 commit comments

Comments
 (0)