Minor fixes needed for last_timeline to work.
* Added route back for PUT /ts_api/user/<username> * Fixed typo in ``ts_api:put_user/2``. * Fixed incorrect expected return from ``ts_ext_data:set_property/3``. * Added missing assignment for ``ts_user.email`` in the appropriate ``ts_json:construct_record/3`` clause. * Fixed model attribute assignment in ``ts.js``.
This commit is contained in:
@ -44,7 +44,7 @@ get_properties(Rec) ->
|
||||
{Key, ExtData#ts_ext_data.value} end, Result).
|
||||
|
||||
do_set_property(Ref, PropKey, Val) ->
|
||||
{atomic, Result} = mnesia:transaction(fun() ->
|
||||
{atomic, _Result} = mnesia:transaction(fun() ->
|
||||
mnesia:write(#ts_ext_data{ref = {Ref, PropKey}, value = Val})
|
||||
end),
|
||||
Result.
|
||||
ok.
|
||||
|
Reference in New Issue
Block a user