Skip to content

Commit

Permalink
Merge pull request #209 from poap-xyz/release/v1.12.5
Browse files Browse the repository at this point in the history
Release v1.12.5
  • Loading branch information
jm42 authored Apr 29, 2024
2 parents 379bc82 + a2e25cf commit 06acf67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions netlify/loaders/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export async function getEventInfo(eventId, env) {
return null
}
const response = await fetch(
`${env.FAMILY_API_URL}/event/${eventId}?description=true&metrics=true&fresh=true&refresh=false`,
`${env.FAMILY_API_URL}/event/${eventId}?description=false&metrics=true&fresh=false&refresh=false`,
{
headers: {
'x-api-key': env.FAMILY_API_KEY,
Expand Down Expand Up @@ -64,7 +64,7 @@ export async function getEvents(eventIds, env) {
return null
}
const response = await fetch(
`${env.FAMILY_API_URL}/events/${eventIds.map((eventId) => encodeURIComponent(eventId)).join(',')}?fresh=true`,
`${env.FAMILY_API_URL}/events/${eventIds.map((eventId) => encodeURIComponent(eventId)).join(',')}?fresh=false`,
{
headers: {
'x-api-key': env.FAMILY_API_KEY,
Expand Down Expand Up @@ -106,7 +106,7 @@ export async function getEventsOwners(eventIds, env) {
}
const response = await fetch(
`${env.FAMILY_API_URL}/events` +
`/${eventIds.map((eventId) => encodeURIComponent(eventId)).join(',')}/owners?fresh=true`,
`/${eventIds.map((eventId) => encodeURIComponent(eventId)).join(',')}/owners?fresh=false`,
{
headers: {
'x-api-key': env.FAMILY_API_KEY,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@poap-xyz/poap-family",
"version": "1.12.4",
"version": "1.12.5",
"author": {
"name": "POAP",
"url": "https://poap.xyz"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/linkify.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { POAP_SCAN_URL } from '../models/poap'

const regexp =
/[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/gi;
/https?:\/\/(www.)?[a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/gi;

export default function linkify(text, Anchor) {
const texts = []
Expand Down

0 comments on commit 06acf67

Please sign in to comment.