Skip to content

Commit

Permalink
added changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Nov 1, 2023
1 parent 3f2acd9 commit 280ab96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-turtles-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@journeyapps/powersync-sdk-common': patch
---

Removed `user-id` header from backend connector and remote headers
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export interface PowerSyncCredentials {
endpoint: string;
token: string;
userID?: string;
expiresAt?: Date;
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export abstract class AbstractRemote {
const credentials = await this.getCredentials();
return {
'content-type': 'application/json',
'User-Id': credentials.userID ?? '',
Authorization: `Token ${credentials.token}}`
};
}
Expand Down

0 comments on commit 280ab96

Please sign in to comment.