You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.
The importer config should support a middleware option where a it accepts a capture Middleware.import/0.
A high level middleware should look like so:
defmodule Middleware do
use Tesla
plug Tesla.Middleware.BaseUrl, "https://api.excourtbot.com"
plug Tesla.Middleware.Headers, [{"authorization", "token xyz"}]
plug Tesla.Middleware.JSON
def import() do
get("/todays-data")
end
end
The text was updated successfully, but these errors were encountered:
The importer config should support a
middleware
option where a it accepts a captureMiddleware.import/0
.A high level middleware should look like so:
The text was updated successfully, but these errors were encountered: