diff --git a/index.js b/index.js index 042af91..ce5d502 100644 --- a/index.js +++ b/index.js @@ -218,7 +218,7 @@ class Replicate { const headers = {}; if (auth) { - headers["Authorization"] = `Token ${auth}`; + headers["Authorization"] = `Bearer ${auth}`; } headers["Content-Type"] = "application/json"; headers["User-Agent"] = userAgent;