Skip to content

Commit 24ce0d3

Browse files
author
Clément Le Provost
committed
Avoid deprecation warnings
1 parent a1f946b commit 24ce0d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/Client.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ public class Client : NSObject {
128128

129129
// Other headers are likely to change during the lifetime of the session: they will be passed for every request.
130130
httpHeaders["X-Algolia-API-Key"] = self.apiKey
131-
self.tagFilters = tagFilters
132-
self.userToken = userToken
133-
self.queryParameters = queryParameters
131+
httpHeaders["X-Algolia-TagFilters"] = tagFilters
132+
httpHeaders["X-Algolia-UserToken"] = userToken
133+
httpHeaders["X-Algolia-QueryParameters"] = queryParameters
134134
}
135135

136136
// Helper for Obj-C

0 commit comments

Comments
 (0)