From 75a765f569ca3e6e5bae8a29d63649a632f4d80a Mon Sep 17 00:00:00 2001 From: Alka Trivedi Date: Wed, 25 Sep 2024 12:15:04 +0530 Subject: [PATCH] fix: getMetadata for Session --- src/session.ts | 8 +------- test/session.ts | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/session.ts b/src/session.ts index 256d8af14..2ece6b45d 100644 --- a/src/session.ts +++ b/src/session.ts @@ -541,11 +541,5 @@ export class Session extends common.GrpcServiceObject { * that a callback is omitted. */ promisifyAll(Session, { - exclude: [ - 'delete', - 'getMetadata', - 'partitionedDml', - 'snapshot', - 'transaction', - ], + exclude: ['delete', 'partitionedDml', 'snapshot', 'transaction'], }); diff --git a/test/session.ts b/test/session.ts index 9570bcc27..845ad22b1 100644 --- a/test/session.ts +++ b/test/session.ts @@ -37,7 +37,6 @@ const fakePfy = extend({}, pfy, { promisified = true; assert.deepStrictEqual(options.exclude, [ 'delete', - 'getMetadata', 'partitionedDml', 'snapshot', 'transaction',