Browse Source

add feed to #product

Andrii Zadorozhnii 12 years ago
parent
commit
2ad197ca21
2 changed files with 2 additions and 1 deletions
  1. 1 1
      include/feed_state.hrl
  2. 1 0
      include/products.hrl

+ 1 - 1
include/feed_state.hrl

@@ -1,6 +1,6 @@
 -record(state, {
         owner = "feed_owner",
-        type :: user | group | system, 
+        type :: user | group | system | product,
         feed,
         direct,
         cached_feed,

+ 1 - 0
include/products.hrl

@@ -20,6 +20,7 @@
         ext_name               :: binary(),  % ext
         vendor_id              :: integer(), % auto
         categories             :: list(integer()), % admin
+        feed,
         description_short      :: binary(),  % admin (based on ext)
         description_long       :: binary(),  % admin (based on ext)
         image_small_url        :: binary(),  % admin (based on ext)