Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
Neon-White committed Mar 4, 2024
1 parent 5ec8462 commit a89dccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdk/namespace_gcp.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class NamespaceGCP {
private_key: this.private_key,
}
});
this.gcs.createHmacKey(client_email).then((res) => {
this.gcs.createHmacKey(client_email).then(res => {
this.hmac_key = res[0];
this.hmac_secret = res[1];
});
Expand Down Expand Up @@ -479,7 +479,7 @@ class NamespaceGCP {

async get_object_tagging(params, object_sdk) {
dbg.log0('NamespaceGCP.get_object_tagging:', this.bucket, inspect(params));
const obj_tags = (await this.read_object_md(params, object_sdk)).xattr
const obj_tags = (await this.read_object_md(params, object_sdk)).xattr;
// Converting tag dictionary to array of key-value object pairs
const tags = Object.entries(obj_tags).map(([key, value]) => ({ key, value }));
return {
Expand Down

0 comments on commit a89dccb

Please sign in to comment.