Add and remove pins

Yep. Julst like behind

On Thu, Jun 19, 2014 at 1:57 PM, Merlin Nimier-David
<notifications@github.com> wrote:

>> +        return pin.anyFetchId;
>> +      });
>> +
>> +      // Batch call: /documents and /document_types
>> +      var pages = [
>> +        '/documents?' + querystring.encode({ id: ids}),
>> +        '/document_types'
>> +      ];
>> +      request(fetchApiUrl).get('/batch')
>> +        .query({ pages: pages })
>> +        .set('Authorization', 'Bearer ' + user.anyFetchToken)
>> +        .expect(200)
>> +        .end(rarity.carry([ pages ], cb));
>> +    },
>> +    function extractRes(pages, batchRes, cb) {
>> +      var documents = batchRes.body[pages[0]].data;
> Do you mean `function extractRes(docPage, typesPage, batchRes, cb)` ?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/AnyFetch/salesFetch/pull/31/files#r13964102