fix: billing charges error 500 (#5718)
This commit is contained in:
@@ -3209,6 +3209,9 @@
|
|||||||
"settings.billing.charges.product.pyro": {
|
"settings.billing.charges.product.pyro": {
|
||||||
"message": "Modrinth Hosting"
|
"message": "Modrinth Hosting"
|
||||||
},
|
},
|
||||||
|
"settings.billing.charges.title": {
|
||||||
|
"message": "Past charges"
|
||||||
|
},
|
||||||
"settings.billing.expires": {
|
"settings.billing.expires": {
|
||||||
"message": "Expires {date}"
|
"message": "Expires {date}"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ import {
|
|||||||
injectModrinthClient,
|
injectModrinthClient,
|
||||||
useFormatDateTime,
|
useFormatDateTime,
|
||||||
useFormatPrice,
|
useFormatPrice,
|
||||||
|
useVIntl,
|
||||||
} from '@modrinth/ui'
|
} from '@modrinth/ui'
|
||||||
import { useQuery } from '@tanstack/vue-query'
|
import { useQuery } from '@tanstack/vue-query'
|
||||||
|
|
||||||
@@ -70,6 +71,10 @@ const formatDate = useFormatDateTime({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
|
title: {
|
||||||
|
id: 'settings.billing.charges.title',
|
||||||
|
defaultMessage: 'Past charges',
|
||||||
|
},
|
||||||
description: {
|
description: {
|
||||||
id: 'settings.billing.charges.description',
|
id: 'settings.billing.charges.description',
|
||||||
defaultMessage: 'All of your past charges to your Modrinth account will be listed here:',
|
defaultMessage: 'All of your past charges to your Modrinth account will be listed here:',
|
||||||
|
|||||||
Reference in New Issue
Block a user