Skip to content

Commit 077f60f

Browse files
committed
Review fixes
1 parent 55b7791 commit 077f60f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

macos/Onit/Context/ContextFetchingService.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ class ContextFetchingService {
105105
let screenResult = ScreenResult(
106106
applicationName: appName,
107107
applicationTitle: appTitle,
108-
others: nil,
109108
errorMessage: errorMessage,
110109
errorCode: errorCode,
111110
appBundleUrl: appBundleUrl
@@ -128,7 +127,6 @@ class ContextFetchingService {
128127
let screenResult = ScreenResult(
129128
applicationName: appName,
130129
applicationTitle: appTitle,
131-
others: nil,
132130
errorMessage: "Google Drive Plugin Required",
133131
errorCode: 1500,
134132
appBundleUrl: appBundleUrl
@@ -271,10 +269,8 @@ class ContextFetchingService {
271269
let screenResult = ScreenResult(
272270
applicationName: appName,
273271
applicationTitle: "",
274-
others: nil,
275272
errorMessage: "Timeout occurred, could not read application in reasonable amount of time.",
276-
errorCode: 1500,
277-
appBundleUrl: nil
273+
errorCode: 1500
278274
)
279275

280276
// Call addAutoContext to handle the error case
@@ -307,8 +303,6 @@ class ContextFetchingService {
307303
applicationName: appName,
308304
applicationTitle: appTitle,
309305
others: results,
310-
errorMessage: nil,
311-
errorCode: nil,
312306
appBundleUrl: appBundleUrl
313307
)
314308

0 commit comments

Comments
 (0)