Skip to content

Commit 704faaf

Browse files
ndudniczbidoubiwa
authored andcommitted
doc/fix-bad-copy-past-changeHealthTo-comment: update function definition and method name in comment
1 parent aef5507 commit 704faaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meilisearch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ class Meilisearch extends MeiliAxiosWrapper
108108
}
109109

110110
/**
111-
* Change the healthyness to unhealthy
111+
* Set the healthyness to health value
112112
* @memberof Meilisearch
113-
* @method setUnhealthy
113+
* @method changeHealthTo
114114
*/
115115
async changeHealthTo(health: boolean): Promise<void> {
116116
const url = '/health'

0 commit comments

Comments
 (0)