Explorar el Código

fix user property interface

kaori hace 4 años
padre
commit
2cdc353f8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/server/routes/apiv3/in-app-notification.ts

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

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