Skip to content

Commit 4bbea58

Browse files
committed
fix(gitea): change content type from 'application/json' to 'json'
1 parent e21dc28 commit 4bbea58

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resolver = "2"
77
[package]
88
name = "backend"
99
description = "Backend API and services for StackClass"
10-
version = "0.31.0"
10+
version = "0.31.1"
1111
edition = "2024"
1212

1313
default-run = "stackclass-server"

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": {
77
"name": ""
88
},
9-
"version": "0.31.0"
9+
"version": "0.31.1"
1010
},
1111
"paths": {
1212
"/v1/courses": {

src/service/repository.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ impl RepoService {
210210
active: true,
211211
branch_filter: Some("main".to_string()),
212212
config: HashMap::from([
213-
("content_type".to_string(), "application/json".to_string()),
213+
("content_type".to_string(), "json".to_string()),
214214
("url".to_string(), url.clone()),
215215
]),
216216
events: vec!["push".to_string()],

0 commit comments

Comments
 (0)