2021-01-19 06:17:15 +00:00
|
|
|
import { AxiosPromise } from "axios";
|
2021-03-22 09:22:24 +00:00
|
|
|
import Api from "api/Api";
|
2021-01-19 06:17:15 +00:00
|
|
|
import { ApiResponse } from "./ApiResponses";
|
|
|
|
|
|
|
|
|
|
class ReleasesAPI extends Api {
|
|
|
|
|
static markAsReadURL = `v1/users/setReleaseNotesViewed`;
|
|
|
|
|
|
|
|
|
|
static markAsRead(): AxiosPromise<ApiResponse> {
|
|
|
|
|
return Api.put(ReleasesAPI.markAsReadURL);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default ReleasesAPI;
|