We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ImportBot
1 parent 0dc49de commit 05793a6Copy full SHA for 05793a6
1 file changed
openlibrary/plugins/openlibrary/api.py
@@ -1159,7 +1159,8 @@ def POST(self):
1159
def link(edition, ocaid):
1160
data = edition.dict()
1161
data["ocaid"] = ocaid
1162
- web.ctx.site.save(data, "Associate OCAID with record", action="edit-edition-ocaid")
+ with accounts.RunAs("ImportBot"):
1163
+ web.ctx.site.save(data, "Associate OCAID with record", action="edit-edition-ocaid")
1164
1165
1166
class monthly_logins(delegate.page):
0 commit comments