Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove 'Gmail' from list for #2854" #2866

Merged
merged 5 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ and this project adheres to
- Bump PostCSS [#2863](https://github.com/OpenFn/lightning/pull/2863)
- Replaced HTTPoison with Tesla in the AdaptorRegistry.
[#2861](https://github.com/OpenFn/lightning/pull/2861)
- Remove googlesheets, gmail and collections from credential schemas list
[#2854](https://github.com/OpenFn/lightning/issues/2854)

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,10 @@ defmodule LightningWeb.CredentialLive.CredentialFormComponent do
end)

schemas_options
|> Enum.reject(fn {_, name, _, _} ->
name in ["googlesheets", "gmail", "collections"]
end)
|> Enum.concat([{"Raw JSON", "raw", nil, nil}])
# TODO: Gracefully determine which adaptors define custom credential types
# and which adaptors use OAuth2 credential types.
|> List.delete({"Googlesheets", "googlesheets", nil, nil})
|> Enum.sort_by(& &1, :asc)
end

Expand Down