Skip to content
Snippets Groups Projects
Unverified Commit fffa32df authored by syuilo's avatar syuilo
Browse files

Fix bug

parent cad49892
No related branches found
No related tags found
No related merge requests found
......@@ -130,14 +130,14 @@ async function fetchAny(uri: string) {
}
async function mergePack(user: User, note: Note) {
if (user !== null) {
if (user != null) {
return {
type: 'User',
object: await Users.pack(user, null, { detail: true })
};
}
if (note !== null) {
if (note != null) {
return {
type: 'Note',
object: await Notes.pack(note, null, { detail: true })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment