typo
This commit is contained in:
parent
b4c22228ec
commit
ba12d42d39
1 changed files with 5 additions and 1 deletions
|
|
@ -1261,7 +1261,11 @@ const createPost = async (tags, title, content) => {
|
|||
|
||||
const numOfPages = await (async () => {
|
||||
const maybeNumOfPages = await Utils.tryAndWait(
|
||||
(_, user) => user.get(Key.NUM_OF_PAGES).then(),
|
||||
(_, user) =>
|
||||
user
|
||||
.get(Key.WALL)
|
||||
.get(Key.NUM_OF_PAGES)
|
||||
.then(),
|
||||
v => typeof v !== 'number'
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue