Skip to content

Commit 46dd4ec

Browse files
committed
Casting.
1 parent 5a1149d commit 46dd4ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

router/src/grpc/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ impl TextEmbeddingsService {
356356
id,
357357
text,
358358
special,
359-
start,
360-
stop,
359+
start: start.map(|s| s as u32),
360+
stop: stop.map(|s| s as u32),
361361
}
362362
})
363363
.collect();

0 commit comments

Comments
 (0)