Coffrify.Resources.Branding (Coffrify v0.9.0)

View Source

Workspace branding — colors, logos, footer, Slack/Discord/Teams webhooks.

Summary

Functions

Fetch the current branding payload.

Update branding fields. Pass only the keys you want to change.

Functions

get(client)

@spec get(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}

Fetch the current branding payload.

update(client, patch)

@spec update(Coffrify.t(), map()) :: {:ok, map()} | {:error, Exception.t()}

Update branding fields. Pass only the keys you want to change.