Edits history of script submission #6092 for ' Get Teams (linear)'

  • bun
    One script reply has been approved by the moderators
    Ap­pro­ved
    import { LinearClient } from '@linear/sdk'
    
    type Linear = {
    	apiKey: string
    }
    
    export async function main(resource: Linear, teamId: string) {
    	const linearClient = new LinearClient({ apiKey: resource.apiKey })
    
    	const getTeams = await linearClient.team(teamId)
    
    	return getTeams
    }
    

    Submitted by hugo697 397 days ago

  • bun
    import { LinearClient } from '@linear/sdk'
    
    type Linear = {
    	apiKey: string
    }
    
    export async function main(resource: Linear, teamId: string) {
    	const linearClient = new LinearClient({ apiKey: resource.apiKey })
    
    	const getTeams = await linearClient.team(teamId)
    
    	return getTeams
    }
    

    Submitted by hugo697 762 days ago