@@ -33,8 +33,12 @@ export default class AdminNotificationContainer extends Container {
/**
* Retrieve notificationData
*/
- retrieveNotificationData() {
- // TODO GW-821 retrive data from api
+ async retrieveNotificationData() {
+ const response = await this.appContainer.apiv3.get('/notification-setting/', {
+
+ });
+ return response;
}
@@ -63,6 +63,12 @@ module.exports = (crowi) => {
const { ApiV3FormValidator } = crowi.middlewares;
+ router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {
+ console.log('here is apiv3');
+ return res.apiv3({ });
* @swagger
*