You've already forked AstralRinth
forked from didirus/AstralRinth
Fix random Nuxt internal server errors (#551)
* Fix random Nuxt internal server errors * Fix ratelimit key being exposed * Add GDPR clarification
This commit is contained in:
@@ -220,7 +220,7 @@ export default {
|
||||
this.icon.type.split('/')[this.icon.type.split('/').length - 1]
|
||||
}`,
|
||||
this.icon,
|
||||
this.$auth.headers
|
||||
this.$defaultHeaders()
|
||||
)
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
await this.$axios.patch(
|
||||
`user/${this.$auth.user.id}`,
|
||||
data,
|
||||
this.$auth.headers
|
||||
this.$defaultHeaders()
|
||||
)
|
||||
|
||||
await this.$store.dispatch('auth/fetchUser', {
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
try {
|
||||
await this.$axios.delete(
|
||||
`user/${this.$auth.user.id}`,
|
||||
this.$auth.headers
|
||||
this.$defaultHeaders()
|
||||
)
|
||||
} catch (err) {
|
||||
this.$notify({
|
||||
|
||||
Reference in New Issue
Block a user