Skip to content

Commit

Permalink
Revert "Add defaults to the metadata in the create stream calls (#45)" (
Browse files Browse the repository at this point in the history
#48)

This reverts commit e84a2ea.

(turns out it was a turbo cache thing)
  • Loading branch information
texuf authored May 23, 2024
1 parent 7ac1e7e commit 9b5d528
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export class Client
const response = await this.rpcClient.createStream({
events: userEvents,
streamId: streamIdAsBytes(userStreamId),
metadata: metadata ?? {},
metadata: metadata,
})
return unpackStream(response.stream)
}
Expand All @@ -421,7 +421,7 @@ export class Client
const response = await this.rpcClient.createStream({
events: userDeviceKeyEvents,
streamId: streamIdAsBytes(userDeviceKeyStreamId),
metadata: metadata ?? {},
metadata: metadata,
})
return unpackStream(response.stream)
}
Expand All @@ -442,7 +442,7 @@ export class Client
const response = await this.rpcClient.createStream({
events: userInboxEvents,
streamId: streamIdAsBytes(userInboxStreamId),
metadata: metadata ?? {},
metadata: metadata,
})
return unpackStream(response.stream)
}
Expand All @@ -464,7 +464,7 @@ export class Client
const response = await this.rpcClient.createStream({
events: userSettingsEvents,
streamId: userSettingsStreamId,
metadata: metadata ?? {},
metadata: metadata,
})
return unpackStream(response.stream)
}
Expand Down

0 comments on commit 9b5d528

Please sign in to comment.