Skip to content

Commit 38e746d

Browse files
committed
Fix formatting for item name in postItem function
1 parent fc8ee83 commit 38e746d

File tree

1 file changed

+1
-1
lines changed
  • typescript/simple-mercari-web/src/api

1 file changed

+1
-1
lines changed

typescript/simple-mercari-web/src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface CreateItemInput {
3535

3636
export const postItem = async (input: CreateItemInput): Promise<Response> => {
3737
const data = new FormData();
38-
// data.append('name', input.name);
38+
data.append('name', input.name);
3939
data.append('category', input.category);
4040
data.append('image', input.image);
4141
const response = await fetch(`${SERVER_URL}/items`, {

0 commit comments

Comments
 (0)