Skip to content

Commit 7410ed0

Browse files
fix(client): send body in update-stripe-card requests (freeCodeCamp#55729)
1 parent a1c1284 commit 7410ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/utils/ajax.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function post<T = void>(
5959

6060
function put<T = void>(
6161
path: string,
62-
body?: unknown
62+
body: unknown
6363
): Promise<ResponseWithData<T>> {
6464
return request('PUT', path, body);
6565
}

0 commit comments

Comments
 (0)