Fix rebase

This commit is contained in:
ekzyis 2022-09-13 02:08:24 +02:00
parent 455ca25efa
commit f66a8162da
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ export function getGetServerSideProps (query, variables = null, notFoundFunc, re
query: ME_SSR
})
const price = await getPrice()
const price = await getPrice(me.fiatCurrency)
// we want to use client-side cache
if (nodata && query) {

View File

@ -87,10 +87,10 @@ ${SETTINGS_FIELDS}
export const SET_SETTINGS =
gql`
${SETTINGS_FIELDS}
mutation setSettings($tipDefault: Int!, $noteItemSats: Boolean!, $noteEarning: Boolean!,
mutation setSettings($tipDefault: Int!, $fiatCurrency: String!, $noteItemSats: Boolean!, $noteEarning: Boolean!,
$noteAllDescendants: Boolean!, $noteMentions: Boolean!, $noteDeposits: Boolean!,
$noteInvites: Boolean!, $noteJobIndicator: Boolean!, $hideInvoiceDesc: Boolean!) {
setSettings(tipDefault: $tipDefault, noteItemSats: $noteItemSats,
setSettings(tipDefault: $tipDefault, fiatCurrency: $fiatCurrency, noteItemSats: $noteItemSats,
noteEarning: $noteEarning, noteAllDescendants: $noteAllDescendants,
noteMentions: $noteMentions, noteDeposits: $noteDeposits, noteInvites: $noteInvites,
noteJobIndicator: $noteJobIndicator, hideInvoiceDesc: $hideInvoiceDesc) {