Skip to content

Commit

Permalink
fix: correct field name
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Sep 18, 2023
1 parent 175164a commit a89ba34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/Point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Point {
* Create a new Point with given values.
* After creating Point, it's values shouldn't be modified directly by PointValues object.
*
* @param measurementName - the measurement name
* @param values - point values
*/
private constructor(values: PointValues)
private constructor(arg0?: PointValues | string) {
Expand Down Expand Up @@ -296,7 +296,7 @@ export class Point {
/**
* Sets a boolean field.
*
* @param field - field name
* @param name - field name
* @param value - field value
* @returns this
*/
Expand Down Expand Up @@ -424,7 +424,7 @@ export class Point {

/**
* Creates an InfluxDB protocol line out of this instance.
* @param settings - settings control serialization of a point timestamp and can also add default tags,
* @param convertTimePrecision - settings control serialization of a point timestamp and can also add default tags,
* nanosecond timestamp precision is used when no `settings` or no `settings.convertTime` is supplied.
* @returns an InfluxDB protocol line out of this instance
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/PointValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class PointValues {
/**
* Sets a boolean field.
*
* @param field - field name
* @param name - field name
* @param value - field value
* @returns this
*/
Expand Down

0 comments on commit a89ba34

Please sign in to comment.