Skip to content

Commit

Permalink
chore: remove client property from fetchCredentials (#143)
Browse files Browse the repository at this point in the history
Co-authored-by: DominicGBauer <[email protected]>
  • Loading branch information
DominicGBauer and DominicGBauer authored Apr 26, 2024
1 parent 405add3 commit c6ffb7b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class SupabaseConnector implements PowerSyncBackendConnector {
console.debug('session expires at', session.expires_at);

return {
client: this.client,
endpoint: AppConfig.powersyncUrl,
token: session.access_token ?? '',
expiresAt: session.expires_at ? new Date(session.expires_at * 1000) : undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export class SupabaseConnector extends BaseObserver<SupabaseConnectorListener> i
console.debug('session expires at', session.expires_at);

return {
client: this.client,
endpoint: this.config.powersyncUrl,
token: session.access_token ?? '',
expiresAt: session.expires_at ? new Date(session.expires_at * 1000) : undefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export class SupabaseConnector extends BaseObserver<SupabaseConnectorListener> i
console.debug('session expires at', session.expires_at);

return {
client: this.client,
endpoint: this.config.powersyncUrl,
token: session.access_token ?? '',
expiresAt: session.expires_at ? new Date(session.expires_at * 1000) : undefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export class SupabaseConnector extends BaseObserver<SupabaseConnectorListener> i
}

return {
client: this.client,
endpoint: data.powersync_url,
token: data.token,
expiresAt: undefined
Expand Down

0 comments on commit c6ffb7b

Please sign in to comment.