Files: 73d53a413c5991111416c31c1d615c89aefe88af / tag / async / name.js
304 bytesRaw
1 | const nest = require('depnest') |
2 | |
3 | exports.gives = nest('tag.async.name') |
4 | |
5 | exports.needs = nest({ |
6 | 'sbot.async.publish': 'first' |
7 | }) |
8 | |
9 | exports.create = function (api) { |
10 | return nest('tag.async.name', function ({ name, tag }, cb) { |
11 | api.sbot.async.publish({ type: 'about', about: tag, name }, cb) |
12 | }) |
13 | } |
14 |
Built with git-ssb-web