File tree 2 files changed +2
-1
lines changed
templates/react-native/src
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ class Client {
224
224
}
225
225
226
226
this.realtime.url = url;
227
+ // @ts-ignore
227
228
this.realtime.socket = new WebSocket(url, undefined, {
228
229
headers: {
229
230
Origin: `{{ spec .title | caseLower }}-${Platform.OS}://${this.config.platform}`
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export class {{ service.name | caseUcfirst }} extends Service {
137
137
apiHeaders['x-{{spec .title | caseLower }}-id'] = response.$id;
138
138
}
139
139
140
- let chunk = await FileSystem.readAsStringAsync(file .uri, {
140
+ let chunk = await FileSystem.readAsStringAsync({{ parameter . name | caseCamel | escapeKeyword }} .uri, {
141
141
encoding: FileSystem.EncodingType.Base64,
142
142
position: offset,
143
143
length: Service.CHUNK_SIZE
You can’t perform that action at this time.
0 commit comments