aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/location.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/model/location.scm')
-rw-r--r--guix-data-service/model/location.scm16
1 files changed, 7 insertions, 9 deletions
diff --git a/guix-data-service/model/location.scm b/guix-data-service/model/location.scm
index 1a01b9a..9850377 100644
--- a/guix-data-service/model/location.scm
+++ b/guix-data-service/model/location.scm
@@ -42,13 +42,11 @@
(list file
(number->string line)
(number->string column)))
- (((id))
- (string->number id))
+ (((id)) id)
(()
- (string->number
- (caar
- (exec-query conn
- insert-location
- (list file
- (number->string line)
- (number->string column))))))))))
+ (caar
+ (exec-query conn
+ insert-location
+ (list file
+ (number->string line)
+ (number->string column)))))))))