Skip to content

Commit ff02930

Browse files
authored
feat(create-handler): repass guest allowance option (#98)
1 parent 85e013b commit ff02930

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/endpoints.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class Endpoints<
234234
protected createHandler =
235235
<TInput, TOutput>(
236236
method: string,
237-
{ isCached, isSkipRenew }: IEndpointsCreateHandlerConfig = {},
237+
{ isCached, isSkipRenew, isGuestAllowed }: IEndpointsCreateHandlerConfig = {},
238238
) =>
239239
<TI extends TInput = TInput, TO extends TOutput = TOutput>(
240240
params?: TI,
@@ -243,6 +243,7 @@ class Endpoints<
243243
this.sendRequest<TI, TO>(method, params, {
244244
isCached,
245245
isSkipRenew,
246+
isGuestAllowed,
246247
...options,
247248
});
248249

0 commit comments

Comments
 (0)