Skip to content

Commit ce53ba7

Browse files
committed
fix: big fat blunder
1 parent 338aa37 commit ce53ba7

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

.sqlx/query-f2973dac842ac43b7a3edd25905475ed18aaa9a5a2694405a8ce3fe01787a865.json

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "geode-index"
3-
version = "0.43.0"
3+
version = "0.43.1"
44
edition = "2021"
55

66
[dependencies]

src/database/repository/mods.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,13 @@ pub async fn update_with_json_moved(
280280
about = $2,
281281
changelog = $3,
282282
image = $4,
283-
updated_at = NOW()",
283+
updated_at = NOW()
284+
WHERE id = $5",
284285
json.repository,
285286
json.about,
286287
json.changelog,
287-
json.logo
288+
json.logo,
289+
the_mod.id
288290
)
289291
.execute(conn)
290292
.await

0 commit comments

Comments
 (0)