Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix/silence some warnings #841

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default {
file: 'en.json',
},
...(locales ?? []),
],
].filter((l) => Boolean(l.iso)),
lazy: true,
langDir: 'locales',
defaultLocale: 'en',
Expand Down
2 changes: 1 addition & 1 deletion src/data/usage-data-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const UsageDataService = {
* @param {Parameters<typeof ApiService['post']>[1]} data
*/
post(endpoint, data) {
return ApiService.post(`analytics/${endpoint}`, data)
return ApiService.post(`analytics/${endpoint}/`, data)
},

/**
Expand Down