From 6a9f465b9688413af1a5b7d2405549d0040a3c4e Mon Sep 17 00:00:00 2001 From: Lucas TESSON Date: Sat, 28 Dec 2024 11:13:49 +0100 Subject: [PATCH] chore(deps): update CTFd to 3.7.5 --- .github/workflows/ci.yaml | 2 +- README.md | 2 +- api/model.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af9dae7..2ef670f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest services: ctfd: - image: ctfd/ctfd:3.7.4@sha256:b2cc1ff1767d919282cf9811ec41a9a4f994d502f502b4a8852999ffb1b7e81a + image: ctfd/ctfd:3.7.5@sha256:7f456b23727286c9df2b58e0b7398cc0196e2b74e4c1c5b3cda7a5b71034637d ports: - 8000:8000 steps: diff --git a/README.md b/README.md index 13cd648..79767db 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Golang client for interacting with [CTFd](https://ctfd.io/). -Last version tested on: [3.7.4](https://github.com/CTFd/CTFd/releases/tag/3.7.4). +Last version tested on: [3.7.5](https://github.com/CTFd/CTFd/releases/tag/3.7.5). diff --git a/api/model.go b/api/model.go index a5849ea..af2d48d 100644 --- a/api/model.go +++ b/api/model.go @@ -5,7 +5,7 @@ type ( ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` - Attribution *string `json:"attribution"` + Attribution *string `json:"attribution,omitempty"` ConnectionInfo *string `json:"connection_info,omitempty"` MaxAttempts *int `json:"max_attempts,omitempty"` Function *string `json:"function,omitempty"`