aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2021-03-11 21:51:13 +0100
committerGravatar kwzrd <[email protected]>2021-03-13 12:39:42 +0100
commit83dfb2a7a0389e53d61a30bd93aba2c749a4aa48 (patch)
treecdcdefabfe0a516d0d68d065f3c52510962c2744
parentBranding: implement asset application logic (diff)
Branding: expose SHA on remote objects
-rw-r--r--bot/exts/backend/branding/_repository.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/backend/branding/_repository.py b/bot/exts/backend/branding/_repository.py
index 1a6b13c8b..ef292619e 100644
--- a/bot/exts/backend/branding/_repository.py
+++ b/bot/exts/backend/branding/_repository.py
@@ -35,6 +35,7 @@ class RemoteObject:
The annotations match keys in the response JSON that we're interested in.
"""
+ sha: str # Hash helps us detect asset change
name: str # Filename
path: str # Path from repo root
type: str # Either 'file' or 'dir'