spypoint-api-wrapper
Advanced tools
Comparing version
{ | ||
"name": "spypoint-api-wrapper", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Node.js wrapper for the Spypoint game camera API", | ||
@@ -5,0 +5,0 @@ "main": "spypoint.js", |
@@ -31,5 +31,5 @@ import fetch from 'node-fetch' | ||
async post(cameraId, options = { tags: [], limit: 100 }) { | ||
async post(cameraId = isRequired(), options = { tags: [], limit: 100 }) { | ||
const data = await fetch(PHOTOS = isRequired(), { | ||
const data = await fetch(PHOTOS, { | ||
method: 'POST', | ||
@@ -36,0 +36,0 @@ headers: this._headers, |