Skip to content

Commit

Permalink
publisher: correct homepage update call to use api prefix
Browse files Browse the repository at this point in the history
Updates adding prefixes into the publisher [1] failed to update the put
call used to update a space's homepage; correcting.

[1]: d920ee7

Signed-off-by: James Knight <james.d.knight@live.com>
  • Loading branch information
jdknight committed Mar 17, 2024
1 parent b7a9ca4 commit 80d3092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/confluencebuilder/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ def update_space_home(self, page_id):
else:
page = self.rest.get(f'{self.APIV1}content/{page_id}', None)
try:
self.rest.put('space', self.space_key, {
self.rest.put(f'{self.APIV1}space', self.space_key, {
'key': self.space_key,
'name': self.space_display_name,
'homepage': page,
Expand Down

0 comments on commit 80d3092

Please sign in to comment.