From c0622712ade49a04b24d2384083b3d99444b540b Mon Sep 17 00:00:00 2001 From: Christopher Jr Riley Date: Sun, 1 Dec 2024 08:42:18 -0500 Subject: [PATCH] Fix documentation to reflect header name change --- Sources/ATProtoKit/Errors/ATProtoError.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ATProtoKit/Errors/ATProtoError.swift b/Sources/ATProtoKit/Errors/ATProtoError.swift index 7747ea8479..ec66ce0dfc 100644 --- a/Sources/ATProtoKit/Errors/ATProtoError.swift +++ b/Sources/ATProtoKit/Errors/ATProtoError.swift @@ -54,7 +54,7 @@ public enum ATAPIError: ATProtoError { /// /// - Parameters: /// - error: The error name and message. - /// - retryAfter: The value for the `Retry-After` header. Optional. + /// - retryAfter: The value for the `ratelimit-reset` header. Optional. case tooManyRequests(error: ATHTTPResponseError, retryAfter: TimeInterval?) /// Represents an internal server error (HTTP 500) with an associated message.