correct import name
This commit is contained in:
parent
7974a89bd3
commit
2573a2aaf9
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ const Common = require('shock-common')
|
|||
const Utils = require('../utils')
|
||||
const Key = require('../key')
|
||||
|
||||
const Wall = require('./user')
|
||||
const User = require('./user')
|
||||
|
||||
/**
|
||||
* @param {string=} publicKey
|
||||
|
|
@ -160,9 +160,9 @@ const getWallPage = async (page, publicKey) => {
|
|||
} else {
|
||||
post.author = publicKey
|
||||
? // eslint-disable-next-line no-await-in-loop
|
||||
await Wall.getAnUser(publicKey)
|
||||
await User.getAnUser(publicKey)
|
||||
: // eslint-disable-next-line no-await-in-loop
|
||||
await Wall.getMyUser()
|
||||
await User.getMyUser()
|
||||
post.id = key
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue