Skip to content

Commit

Permalink
stream-metadata: fix base url in space metadata endpoint (#1015)
Browse files Browse the repository at this point in the history
Previously:
```json
{
  "name": "My fancy space",
  "description": "idk ;-;",
  "image": "https://gamma.river.deliveryspace/0x9e5318618c141f3f9949250bf73fb98a9b22b03e/image"
}
```

This PR fix the url
  • Loading branch information
miguel-nascimento authored Sep 9, 2024
1 parent 211d32b commit 9e61406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stream-metadata/src/routes/spaceMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { config } from '../environment'
import { isValidEthereumAddress } from '../validators'
import { spaceDapp } from '../contract-utils'

export const spaceMetadataBaseUrl = `${config.streamMetadataBaseUrl}space`.toLowerCase()
export const spaceMetadataBaseUrl = `${config.streamMetadataBaseUrl}/space`.toLowerCase()

const paramsSchema = z.object({
spaceAddress: z.string().min(1, 'spaceAddress parameter is required'),
Expand Down

0 comments on commit 9e61406

Please sign in to comment.