Corrected typo.
This commit is contained in:
parent
cfa33f9465
commit
e21bb54584
@ -42,7 +42,7 @@ export interface GetAssignmentForCompletion {
|
||||
}
|
||||
|
||||
export interface CompleteAssignmentRequest {
|
||||
assignmenId: GeneralIdRef;
|
||||
assignmentId: GeneralIdRef;
|
||||
taskData: Record<string, unknown>;
|
||||
}
|
||||
|
||||
@ -62,11 +62,11 @@ export async function completeAssignment(
|
||||
taskData: Record<string, unknown>,
|
||||
): Promise<any> {
|
||||
const request: CompleteAssignmentRequest = {
|
||||
assignmenId: assignmentGeneralId,
|
||||
assignmentId: assignmentGeneralId,
|
||||
taskData,
|
||||
};
|
||||
|
||||
return await httpService.post(apiEndpoint + "/CompleteAssignmost", request);
|
||||
return await httpService.post(apiEndpoint + "/completeAssignment", request);
|
||||
}
|
||||
|
||||
const assignmentCompleteService = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user