Skip to content

Commit 3aec5b2

Browse files
luizhf42gustavosbarreto
authored andcommitted
fix(ui): fix getSessionRecord error
1 parent 54c9c3a commit 3aec5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/store/api/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const postValidationAccount = async (data : IUser) => usersApi.getValidat
1818

1919
export const putSecurity = async (data : IUserPutSecurity) => usersApi.setSessionRecord(data.id, { session_record: data.status });
2020

21-
export const getSecurity = async () => usersApi.getSessionRecord();
21+
export const getSecurity = async () => usersApi.checkSessionRecord();
2222

2323
export const postUpdatePassword = async (data : IUserUpdatePassword) => usersApi.updateRecoverPassword(data.id, {
2424
token: data.token,

0 commit comments

Comments
 (0)