mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
* chore: Move plugin-specific integration code into plugins Core no longer imports from or names the settings of individual plugins. Plugins now register mention providers, issue status icons, instance URLs, settings keys, settings and import schemas, and OAuth clients through hooks. * fix: Recompute embed instance URLs after plugins load and match legacy issue icons by URL * fix: Skip logo upload jobs queued without a settings path * chore: Choose issue status icons from the unfurl state
11 lines
254 B
TypeScript
11 lines
254 B
TypeScript
import httpErrors from "http-errors";
|
|
|
|
export function GmailAccountCreationError(
|
|
message = "Cannot create account using personal Gmail address"
|
|
) {
|
|
return httpErrors(400, message, {
|
|
id: "gmail_account_creation",
|
|
isReportable: false,
|
|
});
|
|
}
|