Skip to content

Commit

Permalink
Merge pull request #111 from matrix-org/t3chguy/patch-1
Browse files Browse the repository at this point in the history
Correct & improve comments
  • Loading branch information
t3chguy authored Jun 7, 2022
2 parents c783b9f + a57ecd7 commit c057b56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions seshat-node/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ class Seshat {
* followed the event that matched the search term.
* @param {boolean} args.order_by_recency Should the search results be
* ordered by event recency.
* @param {string} args.next_batch Should the search results be
* ordered by event recency.
* @param {string} args.next_batch The token to request the next page of
* results.
*
* @return {Promise<searchResult>} The array of events that matched
* the search term.
Expand Down Expand Up @@ -470,7 +470,7 @@ class Seshat {
/**
* Get the custom user specific version from the database.
*
* @return {Promise<boolean>} A promise that will resolve to a number that
* @return {Promise<number>} A promise that will resolve to a number that
* represents the user version of the database.
*/
async getUserVersion() {
Expand Down Expand Up @@ -563,7 +563,7 @@ class SeshatRecovery {
/**
* Get the custom user specific version from the database.
*
* @return {Promise<boolean>} A promise that will resolve to a number that
* @return {Promise<number>} A promise that will resolve to a number that
* represents the user version of the database.
*/
async getUserVersion() {
Expand Down

0 comments on commit c057b56

Please sign in to comment.