Delete epic

This commit is contained in:
Adrian Woźniak 2021-01-16 19:46:50 +01:00
parent 10fc8d81c9
commit b137b461a8
2 changed files with 6 additions and 17 deletions

View File

@ -30,20 +30,7 @@ impl WsHandler<UpdateIssueHandler> for WebSocketActor {
let mut msg = UpdateIssue { let mut msg = UpdateIssue {
issue_id: id, issue_id: id,
title: None, ..Default::default()
issue_type: None,
priority: None,
list_position: None,
description: None,
description_text: None,
estimate: None,
time_spent: None,
time_remaining: None,
project_id: None,
user_ids: None,
reporter_id: None,
issue_status_id: None,
epic_id: None,
}; };
match (field_id, payload) { match (field_id, payload) {
(IssueFieldId::Type, PayloadVariant::IssueType(t)) => { (IssueFieldId::Type, PayloadVariant::IssueType(t)) => {

View File

@ -3,9 +3,11 @@ mod utils;
extern crate proc_macro; extern crate proc_macro;
use crate::parse_attr::Attributes; use {
use proc_macro::{token_stream::IntoIter, TokenStream, TokenTree}; crate::parse_attr::Attributes,
use std::iter::Peekable; proc_macro::{token_stream::IntoIter, TokenStream, TokenTree},
std::iter::Peekable,
};
fn parse_meta(mut it: Peekable<IntoIter>) -> (Peekable<IntoIter>, Option<Attributes>) { fn parse_meta(mut it: Peekable<IntoIter>) -> (Peekable<IntoIter>, Option<Attributes>) {
let mut attrs: Option<Attributes> = None; let mut attrs: Option<Attributes> = None;