Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mike4aday authored Mar 29, 2022
1 parent 333726e commit fa9b051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ Here are some examples of using the `Connection` class' convenience methods:
// ContentView.swift
import SwiftUI
import SwiftlySalesforce

//...
@Environment var salesforce: Connection
@EnvironmentObject var salesforce: Connection

//...
// Query the current user's accounts
let queryResults: QueryResult<Record> = try await salesforce.myRecords(type: "Account")
Expand Down

0 comments on commit fa9b051

Please sign in to comment.