This commit is contained in:
Daniel Lugo 2020-06-24 17:12:31 -04:00
parent b4c22228ec
commit ba12d42d39

View file

@ -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'
)