fix(gui): GraphQL url correction

removed extra `/` from graphql path

re #315

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
Pranav C
2021-07-02 11:08:57 +05:30
parent 4a7d3ad41b
commit c7c166722d

View File

@@ -29,7 +29,7 @@ export default class GqlApi {
post(url, params) {
return this.$axios({
url: `${this.$axios.defaults.baseURL}/${url}`,
url: `${this.$axios.defaults.baseURL}${url}`,
method: 'post',
data: params,
})