Skip to content

Commit

Permalink
fix: image gallery showing error (RocketChat#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
abirc8010 authored and SinghaAnirban005 committed Jan 1, 2025
1 parent ed4b244 commit d78e1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/EmbeddedChatApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ export default class EmbeddedChatApi {
try {
const { userId, authToken } = (await this.auth.getCurrentUser()) || {};
const response = await fetch(
`${this.host}/api/v1/channels.images?roomId=${this.rid}`,
`${this.host}/api/v1/rooms.images?roomId=${this.rid}`,
{
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit d78e1b8

Please sign in to comment.