gists: Remove gist_type from update method in model. #4243
We do not allow to change the gist type from public to private or vice versa. Therefore there is no need to provide a ability in the model to do it.
This commit is contained in:
parent
c0a7c7b6c4
commit
cc96354c0b
2 changed files with 2 additions and 4 deletions
|
|
@ -298,7 +298,6 @@ class GistsController(BaseController):
|
|||
description=schema_data['description'],
|
||||
owner=c.gist.owner,
|
||||
gist_mapping=schema_data['nodes'],
|
||||
gist_type=schema_data['gist_type'],
|
||||
lifetime=schema_data['lifetime'],
|
||||
gist_acl_level=schema_data['gist_acl_level']
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue