| ... | @@ -60,14 +60,14 @@ const upsertAnonymousId = Effect.gen(function* () { | ... | @@ -60,14 +60,14 @@ const upsertAnonymousId = Effect.gen(function* () { |
| 60 | * 2. ~/.t3/telemetry/anonymous-id | 60 | * 2. ~/.t3/telemetry/anonymous-id |
| 61 | */ | 61 | */ |
| 62 | export const getTelemetryIdentifier = Effect.gen(function* () { | 62 | export const getTelemetryIdentifier = Effect.gen(function* () { |
| 63 | const codexAccountId = yield* getCodexAccountId; | 63 | const codexAccountId = yield* Effect.result(getCodexAccountId); |
| 64 | if (codexAccountId) { | 64 | if (codexAccountId._tag === "Success") { |
| 65 | return yield* hash(codexAccountId); | 65 | return yield* hash(codexAccountId.success); |
| 66 | } | 66 | } |
| 67 | | 67 | |
| 68 | const anonymousId = yield* upsertAnonymousId; | 68 | const anonymousId = yield* Effect.result(upsertAnonymousId); |
| 69 | if (anonymousId) { | 69 | if (anonymousId._tag === "Success") { |
| 70 | return yield* hash(anonymousId); | 70 | return yield* hash(anonymousId.success); |
| 71 | } | 71 | } |
| 72 | | 72 | |
| 73 | return null; | 73 | return null; |