diff --git a/invokeai/app/api/routers/boards.py b/invokeai/app/api/routers/boards.py index fb09c0b463..fb828f4dc5 100644 --- a/invokeai/app/api/routers/boards.py +++ b/invokeai/app/api/routers/boards.py @@ -32,7 +32,7 @@ class DeleteBoardResult(BaseModel): ) async def create_board( board_name: str = Query(description="The name of the board to create"), - private_board: bool = Query(default=False, description="Whether the board is private"), + is_private: bool = Query(default=False, description="Whether the board is private"), ) -> BoardDTO: """Creates a board""" try: diff --git a/invokeai/frontend/web/src/services/api/endpoints/boards.ts b/invokeai/frontend/web/src/services/api/endpoints/boards.ts index 026ffdfa56..6cfed5609a 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/boards.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/boards.ts @@ -88,10 +88,10 @@ export const boardsApi = api.injectEndpoints({ */ createBoard: build.mutation({ - query: ({ board_name, private_board }) => ({ + query: ({ board_name, is_private }) => ({ url: buildBoardsUrl(), method: 'POST', - params: { board_name, private_board }, + params: { board_name, is_private }, }), invalidatesTags: [{ type: 'Board', id: LIST_TAG }], }), diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 4318db2df4..fc41a1dc8e 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -15015,7 +15015,7 @@ export type operations = { /** @description The name of the board to create */ board_name: string; /** @description Whether the board is private */ - private_board?: boolean; + is_private?: boolean; }; }; responses: {