UNPKG

monday-api-client

Version:

Easy to use client for talking to the Monday.com API.

10 lines (9 loc) 295 B
const createProjectQuery = (userId, boardId, text) => { const query = `create_notification ( user_id: ${userId}, target_id: ${boardId}, text: ${text}, target_type: Project)`; return `mutation {${query}{text}}` } module.exports = {createProjectQuery};