UNPKG

dcard

Version:

👫 Unofficial Dcard API wrapper for Node.js developers.

15 lines (12 loc) • 414 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.createIdentityCardPhoto = undefined; var _request = require('../request'); var createIdentityCardPhoto = exports.createIdentityCardPhoto = function createIdentityCardPhoto(data) { return (0, _request.api)('me/identityCards', { method: 'post', body: data }).then(_request.filterError).then(_request.parseJSON); };