step 7 : clock in selfie or not
This commit is contained in:
@@ -6,15 +6,16 @@ package resolver
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"com.sismedika.com.absensi/graph/model"
|
||||
transabsensiinternal "com.sismedika.com.absensi/internal/transabsensi"
|
||||
)
|
||||
|
||||
// MutationClockInAttendance is the resolver for the mutationClockInAttendance field.
|
||||
func (r *mutationResolver) MutationClockInAttendance(ctx context.Context, tTransactionMAbsensiTypeID string, tTransactionMStaffID string, tTransactionMCompanyID string, tTransactionCurrentLatitude string, tTransactionCurrentLongitude string, tTransactionDistance string, tTransactionSelfiePhoto *string, tTransactionNote *string) (*model.TransAbsensiResponse, error) {
|
||||
panic(fmt.Errorf("not implemented: MutationClockInAttendance - mutationClockInAttendance"))
|
||||
func (r *mutationResolver) MutationClockInAttendance(ctx context.Context, tTransactionMStaffID string, tTransactionMCompanyID string, tTransactionCurrentLatitude string, tTransactionCurrentLongitude string, tTransactionCurrentDistance string, tTransactionSelfiePhoto *string, token string, isSelfie string) (*model.TransAbsensiResponse, error) {
|
||||
// panic(fmt.Errorf("not implemented: MutationClockInAttendance - mutationClockInAttendance"))
|
||||
var transabsensiinternal transabsensiinternal.TransAbsensiResponse
|
||||
return transabsensiinternal.ClockInAbsensi(tTransactionMStaffID, tTransactionMCompanyID, tTransactionCurrentLatitude, tTransactionCurrentLongitude, tTransactionCurrentDistance, *tTransactionSelfiePhoto, token, isSelfie)
|
||||
}
|
||||
|
||||
// QueryCheckDistance is the resolver for the queryCheckDistance field.
|
||||
|
||||
Reference in New Issue
Block a user