User functions
List all user functions
const userFns = await ft.userFunctions.list();
// use userFns.json() to access data
- Returns a
Promise
that resolves to anArray
ofFreshteam.models.UserFunction
objects
Get user function by ID
const userFn = await ft.userFunctions.get(id);
// use userFn.json() to access data
- Returns a
Promise
that resolves to aFreshteam.models.UserFunction
object