Browse files

Fixed key macros.

  • Loading branch information...
1 parent f4a3595 commit bba96b5282dcecbfa91fb745a65aa4af92b32e5c @anha0825 anha0825 committed Apr 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/dinerl_types.hrl
4 include/dinerl_types.hrl
@@ -33,8 +33,8 @@
-define(HASHKEYSCHEMA(N, T), {<<"HashKeyElement">>, [{<<"AttributeName">>, N}, {<<"AttributeType">>, T}]}).
-define(RANGEKEYSCHEMA(N, T), {<<"RangeKeyElement">>, [{<<"AttributeName">>, N}, {<<"AttributeType">>, T}]}).
--define(HASHKEY(N, V), {<<"HashKeyElement">>, [V]}).
--define(RANGEKEY(N, V), {<<"RangeKeyElement">>, [V]}).
+-define(HASHKEY(N, V), {<<"HashKeyElement">>, {[{N, V}]}}).
+-define(RANGEKEY(N, V), {<<"RangeKeyElement">>, {[{N, V}]}}).
-define(NONE, <<"NONE">>).

0 comments on commit bba96b5

Please sign in to comment.