Skip to content

Commit 2595a61

Browse files
committed
Update ReplicateAPI.swift
1 parent 1e4b5fb commit 2595a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/replicate-kit-swift/ReplicateAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ fileprivate func sessionCfg (_ token : String) -> URLSessionConfiguration{
223223
let config = URLSessionConfiguration.default
224224

225225
config.httpAdditionalHeaders = [
226-
"Authorization": "Token \(token)",
226+
"Authorization": "Bearer \(token)",
227227
"application/json" : "Accept"
228228
]
229229

0 commit comments

Comments
 (0)