From 120f9edb2409bd8862a71940ae0a1e3404090a8a Mon Sep 17 00:00:00 2001 From: Thijmen Maus Date: Sun, 11 Feb 2024 15:30:29 +0100 Subject: [PATCH] fix(type): change from number to string to align with API docs --- src/types/request/v5-user.ts | 2 +- test/v5/private.write.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/request/v5-user.ts b/src/types/request/v5-user.ts index 950f6fe..c8a3f5e 100644 --- a/src/types/request/v5-user.ts +++ b/src/types/request/v5-user.ts @@ -37,5 +37,5 @@ export interface UpdateSubApiKeyUpdateParamsV5 { } export interface DeleteSubMemberParamsV5 { - subMemberId: number; + subMemberId: string; } diff --git a/test/v5/private.write.test.ts b/test/v5/private.write.test.ts index c590c4d..ffbf324 100644 --- a/test/v5/private.write.test.ts +++ b/test/v5/private.write.test.ts @@ -412,7 +412,7 @@ describe('Private WRITE V5 REST API Endpoints', () => { it.skip('deleteSubMember()', async () => { expect( await api.deleteSubMember({ - subMemberId: 1, + subMemberId: '1', }), ).toMatchObject({ // ...successResponseObjectV3(),