|
|
@@ -263,13 +263,11 @@ limit(Params) ->
|
|
|
%% Interval Funcs
|
|
|
%%------------------------------------------------------------------------------
|
|
|
|
|
|
-format([{?TABLE, {clientid, ClientId}, Password, _InterTime}]) ->
|
|
|
- #{clientid => ClientId,
|
|
|
- password => Password};
|
|
|
+format([{?TABLE, {clientid, ClientId}, _Password, _InterTime}]) ->
|
|
|
+ #{clientid => ClientId};
|
|
|
|
|
|
-format([{?TABLE, {username, Username}, Password, _InterTime}]) ->
|
|
|
- #{username => Username,
|
|
|
- password => Password};
|
|
|
+format([{?TABLE, {username, Username}, _Password, _InterTime}]) ->
|
|
|
+ #{username => Username};
|
|
|
|
|
|
format([]) ->
|
|
|
#{}.
|