diff --git a/README.md b/README.md index 6e524c9..a9e4345 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ const nurekit = new Nurekit() ## Contributing -If you want to contribute to improving the project, firstly read [CONTIRBUTING.md](https://github.com/OneLiL05/nurekit/blob/main/CONTIRBUTING.md) +If you want to contribute to improving the project, firstly read [CONTIRBUTING.md](https://github.com/OneLiL05/nurekit/blob/main/CONTRIBUTING.md) ## Methods @@ -55,7 +55,7 @@ import { Nurekit } from "@nurejs/api" const nurekit = new Nurekit() -const auditories = await nurekit.auditoriums.findOne({ name: "285" }) +const auditories = await nurekit.auditoriums.findOne("285") ``` **Input:** @@ -107,7 +107,7 @@ import { Nurekit } from "@nurejs/api" const nurekit = new Nurekit() -const groups = await nurekit.groups.findOne({ name: "пзпі-23-5" }) +const groups = await nurekit.groups.findOne("пзпі-23-5") ``` **Input:** @@ -162,15 +162,13 @@ import { Nurekit } from "@nurejs/api" const nurekit = new Nurekit() -const teachers = await nurekit.teachers.findOne({ shortName: "Боцюра О. А." }) +const teachers = await nurekit.teachers.findOne("Боцюра О. А.") ``` **Input:** ```ts -{ - shortName: string; -} +shortName: string; ``` **Output:**