Skip to content

Commit

Permalink
Merge pull request #181 from vaivk369/prod-oblf
Browse files Browse the repository at this point in the history
Issue #220148 fix: self attendance is not getting logged
  • Loading branch information
vaivk369 authored May 29, 2024
2 parents b6ff03c + e731ba8 commit f58dbc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/adapters/hasura/attendance.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ export class AttendanceHasuraService implements IServicelocator {
}
});
});

const data = {
query: `query SearchAttendance($filters:Attendance_bool_exp,$limit:Int, $offset:Int) {
Attendance_aggregate (where:$filters, limit: $limit, offset: $offset,){
Expand Down Expand Up @@ -480,10 +479,10 @@ export class AttendanceHasuraService implements IServicelocator {
const attendanceToSearch = new AttendanceSearchDto({});

attendanceToSearch.filters = {
contextId: { _eq: attendanceDto.contextId },
attendanceDate: { _eq: attendanceDto.attendanceDate },
userId: { _eq: attendanceDto.userId },
};

const attendanceFound: any = await this.searchAttendance(
attendanceDto.tenantId,
request,
Expand Down

0 comments on commit f58dbc5

Please sign in to comment.