mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
Fix typo
This commit is contained in:
parent
9c6aa9eb63
commit
620d42ac1d
2 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@ import Undici from "undici";
|
|||
import { RequestOptions } from "undici/types/dispatcher";
|
||||
import {
|
||||
ActivityResponse,
|
||||
AnnoucementsResponse,
|
||||
AnnouncementsResponse,
|
||||
BadgesResponse,
|
||||
BehaviourResponse,
|
||||
DetentionsResponse,
|
||||
|
|
@ -210,12 +210,12 @@ export class ClasschartsClient {
|
|||
);
|
||||
}
|
||||
/**
|
||||
* Lists the logged in student's annoucements
|
||||
* @returns Array of annoucements
|
||||
* Lists the logged in student's announcements
|
||||
* @returns Array of announcements
|
||||
*/
|
||||
async listAnnoucements(): Promise<AnnoucementsResponse> {
|
||||
async listAnnouncements(): Promise<AnnouncementsResponse> {
|
||||
return await this.makeAuthedRequest(
|
||||
API_BASE + "/annoucements/" + this.studentId,
|
||||
API_BASE + "/announcements/" + this.studentId,
|
||||
{
|
||||
method: "GET",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue