anchor.diff:  %% requests.
   get_subscriber(Id, Query) ->
   	case lists:keytake("fields", 1, Query) of
  -		{value, {_, Filters}, NewQuery} ->
  +		{value, {_, Filters}, _NewQuery} ->
   			get_subscriber1(Id, Filters);
   		false ->
   			get_subscriber1(Id, [])
  
positive.code: 				| {error, ErrorCode :: integer()} .
  %% @doc	Respond to `PATCH /ocs/v1/subscriber/{id}' request and
  %% Updates a existing `subscriber''s password or attributes. 
  patch_subscriber(Id, undefined, CType, ReqBody) ->
  	patch_subscriber1(Id, undefined, CType, ReqBody);
  patch_subscriber(Id, Etag, CType, ReqBody) ->
  	try
  		Etag1 = ocs_rest:etag(Etag),
  		patch_subscriber1(Id, Etag1, CType, ReqBody)
  	catch
  		_:_ ->
  			{error, 400}
  	end.
  %% @hidden
  patch_subscriber1(Id, Etag, "application/json-patch+json", ReqBody) ->
  	try
  		{array, OpList} = mochijson:decode(ReqBody),
  		case execute_json_patch_operations(Id, Etag, OpList) of
  			{ok, #subscriber{password = Password,
  					attributes = RadAttr, buckets = Buckets,
  					enabled = Enabled, multisession = MSession,
  					last_modified = Etag1}} ->
  				Attributes = {array, radius_to_json(RadAttr)},
  				TotalBalance = accumulated_balance(Buckets),
  				RespObj =[{id, Id}, {href, "/ocs/v1/subscriber/" ++ Id},
  				{password, Password}, {attributes, Attributes},
  				{totalBalance, TotalBalance}, {enabled, Enabled}, {multisession, MSession}],
  				JsonObj  = {struct, RespObj},
  				RespBody = mochijson:encode(JsonObj),
  				Headers = case Etag1 of
  					undefined ->
  						[];
  					_ ->
  						[{etag, ocs_rest:etag(Etag1)}]
  				end,
  				{ok, Headers, RespBody};
  			{error, Status} ->
  				{error, Status}
  		end
  	catch
  		_:_ ->
  			{error, 400}
  	end.
  
  -spec delete_subscriber(Id) -> Result
  
negative.code: 	NewProdInst = ProdInst#product_instance{product = ProdID},
  	subscriber(T, Acc#subscriber{product = NewProdInst});
  subscriber([{"buckets", {array, Buckets}} | T], Acc) ->
  	Buckets2 = [bucket(Bucket) || Bucket <- Buckets],
  	subscriber(T, Acc#subscriber{buckets = Buckets2});
  subscriber([{"totalBalance", {array, Buckets}} | T], Acc) ->
  	Buckets2 = [bucket(Bucket) || Bucket <- Buckets],
  	subscriber(T, Acc#subscriber{buckets = Buckets2});
  subscriber([{"characteristics", _} = Chars | T], #subscriber{product = undefined} = Acc) ->
  