File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
templates/swift/guides/search Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ import Foundation
2+ #if os(Linux) // For linux interop
3+ import FoundationNetworking
4+ #endif
5+
6+ import Core
7+ { {> snippets/import} }
8+
9+ func saveObjectsPublicUser() async throws {
10+ do {
11+ {{> snippets/init} }
12+
13+ { {#dynamicSnippet} }saveObjectsPlaylistsWithUserIDPublic{ {/dynamicSnippet} }
14+ } catch {
15+ print(error)
16+ }
17+ }
Original file line number Diff line number Diff line change 4646 "objects" : " $var: playlists"
4747 }
4848 },
49+ "saveObjectsPlaylistsWithUserIDPublic" : {
50+ "method" : " saveObjects" ,
51+ "parameters" : {
52+ "indexName" : " indexName" ,
53+ "objects" : " $var: playlists"
54+ },
55+ "requestOptions" : {
56+ "headers" : {
57+ "X-Algolia-User-ID" : " *"
58+ }
59+ }
60+ },
4961 "saveObjectsPlaylistsWithRequestOptions" : {
5062 "method" : " saveObjects" ,
5163 "parameters" : {
You can’t perform that action at this time.
0 commit comments