Converting Decimal to float when returning rank.
This commit is contained in:
parent
7a53b42372
commit
ab591a53ce
|
@ -769,7 +769,7 @@ class Notebooks( object ):
|
|||
new_revision = new_revision,
|
||||
previous_revision = previous_revision,
|
||||
storage_bytes = user and user.storage_bytes or 0,
|
||||
rank = note.rank,
|
||||
rank = float( note.rank ),
|
||||
)
|
||||
|
||||
@expose( view = Json )
|
||||
|
|
Reference in New Issue
Block a user