Only because its redundant in the notification data. The notification is
stored and retrieved by type in redis
On Mar 27, 2013 5:21 PM, "Andrew Kelley" <notifications@github.com> wrote:

> In index.js:
>
> > @@ -341,6 +341,21 @@ function init(options) {
> >
> >
> >
> > +  // Site Notifications
> > +  // ------------------
> > +
> > +  indaba.siteNotification = {}
> > +
> > +  indaba.siteNotification.get = function(type, cb) {
> > +    lydianGet('/site_notifications/' + type, {}, cb);
> > +  }
> > +
> > +  indaba.siteNotification.set = function(notification, cb) {
> > +    var url = '/site_notifications/' + notification.type;
> > +    delete notification['type'];
>
> why the delete?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/indabamusic/indaba-js-sdk/pull/21/files#r3560480>
> .
>