Procházet zdrojové kódy

fix user property interface

kaori před 4 roky
rodič
revize
2cdc353f8c

+ 1 - 1
packages/app/src/server/routes/apiv3/in-app-notification.ts

@@ -35,7 +35,7 @@ module.exports = (crowi) => {
       _id: string
       _id: string
       action: string,
       action: string,
       target: [],
       target: [],
-      user: [],
+      user: typeof User,
       createdAt: Date,
       createdAt: Date,
       targetModel: string,
       targetModel: string,
       actionUsers: Array<typeof User>,
       actionUsers: Array<typeof User>,