Skip to content

Commit

Permalink
accept numbers as posts (bluesky-social#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms authored Apr 28, 2022
1 parent 07d7fcf commit ada695c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/posts/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default cmd({
help: 'Create a new post.',
args: [{ name: 'text' }],
async command(args) {
const text = args._[0]
const text = String(args._[0])
const client = await loadClient(REPO_PATH)
const post = await client.addPost(text)
const tid = post.tid
Expand Down

0 comments on commit ada695c

Please sign in to comment.