Skip to content

Commit a9d065e

Browse files
committed
Use Priority type in Queued struct.
1 parent f7a7215 commit a9d065e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/src/models/queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
1313
pub struct Queued {
1414
pub id: i32,
1515
pub build_input_id: i32,
16-
pub priority: i32,
16+
pub priority: Priority,
1717
pub queued_at: NaiveDateTime,
1818
pub started_at: Option<NaiveDateTime>,
1919
pub worker: Option<i32>,

0 commit comments

Comments
 (0)