Skip to content

Commit

Permalink
Merge pull request #22 from turb0c0w/trevor/fixme
Browse files Browse the repository at this point in the history
fix the new endpoint after Tyler change
  • Loading branch information
trevoratindustrio authored May 14, 2024
2 parents e039dc9 + a18b19c commit 4d4624b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strr-web/stores/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const useBcrosAccount = defineStore('bcros/account', () => {
// TODO: TC - move this to an STRR store
async function getMe () {
const apiURL = useRuntimeConfig().public.strrApiURL
return await axios.get(`${apiURL}/me`)
return await axios.get(`${apiURL}/account/me`)
.then((response) => {
const data = response?.data as MeI
if (!data) { throw new Error('Invalid STRR API response') }
Expand Down

0 comments on commit 4d4624b

Please sign in to comment.