anitab-org / anitab-org/stem-diverse-tv

Bug: Add summary field in request body in video creation

未关闭
#121 2 条评论 0 个 reaction 已指派 1 人 已被 @NenadPantelic 认领 在 GitHub 查看
Category: Coding Open Source Hack Status: Available Type: Bug
主要语言
Python
星标
13
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the bug
We need to add `summary` field in the request body in order to add a summary of the video when we create a video.
### To Reproduce
Steps to reproduce the behavior:
1. Go to `/videos/` (POST) - creating videos
2. Take a look at the request body we send
3. `summary` is missing

### Expected behavior
1. Add `summary` field in request model
2. change `summary` field - read that property from a model object (instead of hardcoded `None` value)
### Screenshots
![image](https://user-images.githubusercontent.com/16724101/110517862-b10d6300-810b-11eb-8232-f033a2b5dc66.png)

### Desktop (please complete the following information):
- OS: elementary OS 5.1.7 Hera (built on Ubuntu)
- Browser: Google Chrome
- Version: 88.0.4324.182

### Additional context
Note: this is dependent on #83, so hold on until #120 is merged

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。