push for fix bug!

This commit is contained in:
Alihaghighattalab
2024-08-14 14:21:08 +03:30
parent 3bbf577093
commit 855cbc414d
10 changed files with 113 additions and 16 deletions
+17
View File
@@ -0,0 +1,17 @@
import axiosInstance from "../axios";
export interface AwardsResponse {
_id: string,
score: number,
title: string,
desc: string,
expireDate: string,
created_at: string,
updated_at: string,
__v: number,
id: string
}
export const getAwardsList = () => axiosInstance.get<AwardsResponse[] | AwardsResponse | []>("/gps/award")