Skip to content

Commit 3e8784e

Browse files
cdervrossbowen
andcommitted
confluence - fix characters being added to title when title is unique
Co-authored-by: rossbowen <[email protected]>
1 parent efef4d7 commit 3e8784e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/publish/confluence/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class ConfluenceClient {
9494
const CQL_CONTEXT =
9595
"%7B%22contentStatuses%22%3A%5B%22archived%22%2C%20%22current%22%2C%20%22draft%22%5D%7D"; //{"contentStatuses":["archived", "current", "draft"]}
9696

97-
cql = `${cql}&spaces=${space.key}&cqlcontext=${CQL_CONTEXT}`;
97+
cql = `${cql}%20and%20space=${space.key}&cqlcontext=${CQL_CONTEXT}`;
9898

9999
const result = await this.get<ContentArray>(`content/search?cql=${cql}`);
100100
return result?.results ?? [];

0 commit comments

Comments
 (0)