fc-common: format

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I946272ee6563f5bca0844c5a25ba08f66a6a6964
This commit is contained in:
raf 2026-02-18 11:30:58 +03:00
commit 23a4a8e348
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 25 additions and 33 deletions

View file

@ -387,11 +387,7 @@ pub async fn list_pinned_ids(
}
/// Set the `keep` (GC pin) flag on a build.
pub async fn set_keep(
pool: &PgPool,
id: Uuid,
keep: bool,
) -> Result<Build> {
pub async fn set_keep(pool: &PgPool, id: Uuid, keep: bool) -> Result<Build> {
sqlx::query_as::<_, Build>(
"UPDATE builds SET keep = $1 WHERE id = $2 RETURNING *",
)