Mbonea commited on
Commit
1859d10
1 Parent(s): ca16d64

added image asset type

Browse files
Files changed (1) hide show
  1. App/Editor/Schema.py +1 -1
App/Editor/Schema.py CHANGED
@@ -14,7 +14,7 @@ class Assets(BaseModel):
14
 
15
  @validator("type")
16
  def valid_type(cls, v):
17
- if v not in ["video", "audio", "text"]:
18
  raise ValueError("Invalid asset type")
19
  return v
20
 
 
14
 
15
  @validator("type")
16
  def valid_type(cls, v):
17
+ if v not in ["video", "audio", "text", "image"]:
18
  raise ValueError("Invalid asset type")
19
  return v
20