mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
Fix spelling of VMessageRecipient class
This commit is contained in:
@@ -176,7 +176,7 @@ class ApiController(RedditController):
|
||||
VUser(),
|
||||
VModhash(),
|
||||
ip = ValidIP(),
|
||||
to = VMessageRecipent('to'),
|
||||
to = VMessageRecipient('to'),
|
||||
subject = VRequired('subject', errors.NO_SUBJECT),
|
||||
body = VMarkdown(['text', 'message']))
|
||||
def POST_compose(self, form, jquery, to, subject, body, ip):
|
||||
|
||||
@@ -895,7 +895,7 @@ class VExistingUname(VRequired):
|
||||
return self.error(errors.USER_DOESNT_EXIST)
|
||||
self.error()
|
||||
|
||||
class VMessageRecipent(VExistingUname):
|
||||
class VMessageRecipient(VExistingUname):
|
||||
def run(self, name):
|
||||
if not name:
|
||||
return self.error()
|
||||
|
||||
Reference in New Issue
Block a user