mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Update src/rest/run_method.ts
Co-authored-by: ayntee <ayyantee@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ export function runMethod<T = any>(
|
|||||||
body?: unknown,
|
body?: unknown,
|
||||||
retryCount = 0,
|
retryCount = 0,
|
||||||
bucketId?: string | null,
|
bucketId?: string | null,
|
||||||
): Promise<T> {
|
): Promise<T> | undefined {
|
||||||
rest.eventHandlers.debug?.("requestCreate", {
|
rest.eventHandlers.debug?.("requestCreate", {
|
||||||
method,
|
method,
|
||||||
url,
|
url,
|
||||||
|
|||||||
Reference in New Issue
Block a user