mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
fix: update category mock to save full handle
This commit is contained in:
@@ -320,7 +320,7 @@ Mocks.category = async (actors) => {
|
|||||||
const payload = {
|
const payload = {
|
||||||
cid,
|
cid,
|
||||||
name,
|
name,
|
||||||
handle: preferredUsername,
|
handle: `${preferredUsername}@${hostname}`,
|
||||||
slug: `${preferredUsername}@${hostname}`,
|
slug: `${preferredUsername}@${hostname}`,
|
||||||
description: summary,
|
description: summary,
|
||||||
descriptionParsed: posts.sanitize(summary),
|
descriptionParsed: posts.sanitize(summary),
|
||||||
|
|||||||
Reference in New Issue
Block a user