mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
POST_setappicon: Use VUploadLength.
This endpoint was missed when fixing file uploads after the request.post -> request.POST deduplication fixup.
This commit is contained in:
@@ -3505,7 +3505,7 @@ class ApiController(RedditController, OAuth2ResourceController):
|
||||
@validatedMultipartForm(VUser(),
|
||||
VModhash(),
|
||||
client=VOAuth2ClientDeveloper(),
|
||||
icon_file=VLength(
|
||||
icon_file=VUploadLength(
|
||||
'file', max_length=1024*128,
|
||||
docs=dict(file="an icon (72x72)")))
|
||||
@api_doc(api_section.apps)
|
||||
|
||||
Reference in New Issue
Block a user