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 {
issue_id: id,
title: None,
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,
..Default::default()
};
match (field_id, payload) {
(IssueFieldId::Type, PayloadVariant::IssueType(t)) => {

View File

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