steemconnect-firebase-functions
Version:
A TypeScript library that can help you build applications with SteemConnect and Firebase.
10 lines (9 loc) • 397 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const createBroadcastable_1 = require("../shared/helpers/createBroadcastable");
exports.broadcastDownvote = ({ author, permlink, weight }) => ({ access_token, username }) => createBroadcastable_1.createBroadcastableVote({
voter: username,
author,
permlink,
weight: -weight
})({ access_token });