Skip to content

Commit d8c5806

Browse files
committed
Fix register() function names for base and bluesky
The value is ignored, but must be included
1 parent 150583c commit d8c5806

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pgweb/util/socialposter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, settings):
1919
def post(self):
2020
raise NotImplementedError
2121

22-
def register(self):
22+
def register(self, clientname):
2323
raise NotImplementedError
2424

2525

@@ -156,7 +156,7 @@ def post(self, text):
156156

157157
return r.json()['uri']
158158

159-
def register(self):
159+
def register(self, clientname):
160160
if getattr(self.settings, 'BLUESKY_USER', None) is None or getattr(self.settings, 'BLUESKY_PASSWORD', None) is None:
161161
return "For bluesky, add an 'app password' from 'Settings' -> 'Privacy and Security'.\nRegister the account email as BLUESKY_USER and the app password as BLUESKY_PASSWORD.\n"
162162
return ''

0 commit comments

Comments
 (0)