Allow updating weapon transcendence

This commit is contained in:
Justin Edmund 2024-01-13 11:21:09 -08:00
parent acf9773f38
commit 272fc5532a

View file

@ -184,7 +184,7 @@ class Api {
}) })
} }
updateTranscendence(resource: 'character'|'summon', id: string, value: number) { updateTranscendence(resource: 'character'|'summon'|'weapon', id: string, value: number) {
const pluralized = resource + 's' const pluralized = resource + 's'
const resourceUrl = `${this.url}/${pluralized}/update_uncap` const resourceUrl = `${this.url}/${pluralized}/update_uncap`
return axios.post(resourceUrl, { return axios.post(resourceUrl, {