Skip to content

Commit

Permalink
fix reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaerit committed Feb 13, 2024
1 parent e0aae1e commit 351d217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/store/characters/characters.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default {
* #param triggers Objeto que contiene commit y dispatch de Vuex.
* #param characterId Identificador del personaje a obtener.
*/
async GET_CHARACTER({ }: Triggers, charactername: string): Promise<void> {
async GET_CHARACTER(_: Triggers, charactername: string): Promise<void> {
try {
//console.log("GET_CHARACTER-charactername", charactername)
const response = await axios.get(`${uri}/characters/read:${charactername}`);
Expand All @@ -168,7 +168,7 @@ export default {
* #param triggers Objeto que contiene commit y dispatch de Vuex.
* #param characterId Identificador del personaje a obtener.
*/
async GET_CHARACTER_BY_ID({ }: Triggers, id: string): Promise<void> {
async GET_CHARACTER_BY_ID(_: Triggers, id: string): Promise<void> {
try {
//console.log("GET_CHARACTER-charactername", charactername)
const response = await axios.get(`${uri}/characters/id:${id}`);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/store/users/users.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
* #throws Error if there's an issue fetching user information
*/

async GET_USER({ }: Triggers, identifier: string): Promise<UserState> {
async GET_USER(_: Triggers, identifier: string): Promise<UserState> {
try {
// Hacer una solicitud al backend para obtener la información del usuario
const response = await axios.get(`${uri}/users/read:${identifier}`);
Expand All @@ -100,7 +100,7 @@ export default {
* #throws Error if there's an issue fetching user information
*/

async GET_USER_BY_ID({ }: Triggers, identifier: string): Promise<UserState> {
async GET_USER_BY_ID(_: Triggers, identifier: string): Promise<UserState> {
try {
// Hacer una solicitud al backend para obtener la información del usuario
const response = await axios.get(`${uri}/users/id:${identifier}`);
Expand Down

0 comments on commit 351d217

Please sign in to comment.