mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update is_private name
This commit is contained in:
parent
79a7b11214
commit
0e092c0fb5
@ -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:
|
||||
|
@ -88,10 +88,10 @@ export const boardsApi = api.injectEndpoints({
|
||||
*/
|
||||
|
||||
createBoard: build.mutation<BoardDTO, CreateBoardArg>({
|
||||
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 }],
|
||||
}),
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user