Skip to content

Commit 40006fe

Browse files
authored
Build: fix API call to update project (#12487)
I was checking how many projects still have keys with write access, but found we have 0... the field name was wrong :/
1 parent 8f1142c commit 40006fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/director.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def checkout(self):
214214
has_ssh_key_with_write_access = self.vcs_repository.has_ssh_key_with_write_access()
215215
if has_ssh_key_with_write_access != self.data.project.has_ssh_key_with_write_access:
216216
self.data.api_client.project(self.data.project.pk).patch(
217-
{"ssh_key_with_write_access": has_ssh_key_with_write_access}
217+
{"has_ssh_key_with_write_access": has_ssh_key_with_write_access}
218218
)
219219
if has_ssh_key_with_write_access:
220220
self.attach_notification(

0 commit comments

Comments
 (0)