Skip to content

Commit

Permalink
example: handle is optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
thruflo committed Nov 20, 2024
1 parent 027f13e commit ba775fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gatekeeper-auth/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Definition {
* Fetch the shape options and start syncing. When new data is recieved,
* log the number of rows. When an auth token expires, reconnect.
*/
async function sync(definition: Definition, handle: string, offset: string = '-1') {
async function sync(definition: Definition, handle?: string, offset: string = '-1') {
console.log('sync: ', offset)

const options = await fetchShapeOptions(definition)
Expand Down

0 comments on commit ba775fa

Please sign in to comment.