remove extra filter
This commit is contained in:
@@ -265,7 +265,7 @@ export async function post(store: RootStoreModel, opts: PostOpts) {
|
|||||||
embed,
|
embed,
|
||||||
langs,
|
langs,
|
||||||
labels,
|
labels,
|
||||||
tags: opts.tags?.filter(t => t.replace(/^#/, '')),
|
tags: opts.tags,
|
||||||
})
|
})
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
console.error(`Failed to create post: ${e.toString()}`)
|
console.error(`Failed to create post: ${e.toString()}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user