Skip to content

Commit cc963fb

Browse files
committed
user: fix duplicated enum
1 parent 3990d2e commit cc963fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { BatchSDK } from "../../types";
99
import { BatchUserAttribute } from "./user/userAttributes";
1010

1111
export enum BatchUserAttributeType {
12-
STRING = 1,
12+
STRING = 0,
1313
BOOLEAN = 1,
1414
INTEGER = 2,
1515
DOUBLE = 3,

types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export declare namespace BatchSDK {
236236
* This enum's implementation is available on batch.user.BatchUserAttributeType.
237237
*/
238238
enum BatchUserAttributeType {
239-
STRING = 1,
239+
STRING = 0,
240240
BOOLEAN = 1,
241241
INTEGER = 2,
242242
DOUBLE = 3,

0 commit comments

Comments
 (0)