Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Archive and Unarchive methods on List #89

Merged
merged 1 commit into from
Mar 5, 2022
Merged

feat: support Archive and Unarchive methods on List #89

merged 1 commit into from
Mar 5, 2022

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Apr 22, 2021

Adds the ability to archive and unarchive lists in the same manner as with cards.

Trello does actually provide a list/{id}/closed endpoint you can PUT to with value: true | false, but using Update is a bit smaller codewise and there doesn't seem to be any downside, so I went with that :)

@codecov
Copy link

codecov bot commented Apr 22, 2021

Codecov Report

Merging #89 (ae1e262) into master (f1fa5fb) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   73.38%   73.45%   +0.06%     
==========================================
  Files          22       22              
  Lines         853      855       +2     
==========================================
+ Hits          626      628       +2     
  Misses        195      195              
  Partials       32       32              
Impacted Files Coverage Δ
list.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1fa5fb...ae1e262. Read the comment docs.

Copy link
Owner

@adlio adlio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @G-Rath!

@adlio adlio merged commit 94141d1 into adlio:master Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants